From be374a04649b347163954f5334f28cf73af64abd Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Sat, 6 Aug 2022 09:09:06 -0400 Subject: [PATCH] Update test suite for new JSON output. --- tests/test-rem | 4 ++-- tests/test.cmp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-rem b/tests/test-rem index 9d9fba27..27e6af34 100644 --- a/tests/test-rem +++ b/tests/test-rem @@ -123,10 +123,10 @@ REM Mon OMITFUNC foo MSG bar EOF # Test default color -../src/remind -ppp - 1 Jan 2012 9:00 <<'EOF' >> ../tests/test.out 2>&1 +../src/remind -pppq - 1 Jan 2012 9:00 <<'EOF' >> ../tests/test.out 2>&1 REM 2 MSG Normal SET $DefaultColor "255 0 0" -REM 3 MSG Red +REM 3 MSG %"Red%" on the calendar! SET $DefaultColor "-1 -1 -1" REM 4 MSG Normal # Should give an error diff --git a/tests/test.cmp b/tests/test.cmp index 5f47b40d..f1ca749d 100644 --- a/tests/test.cmp +++ b/tests/test.cmp @@ -7810,7 +7810,7 @@ February 29 { "monthname":"January","year":2012,"daysinmonth":31,"firstwkday":0,"mondayfirst":0,"daynames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"prevmonthname":"December","daysinprevmonth":31,"prevmonthyear":2011,"nextmonthname":"February","daysinnextmonth":29,"nextmonthyear":2012,"entries":[ {"date":"2012-01-02","filename":"-","lineno":1,"d":2,"priority":5000,"body":"Normal"}, -{"date":"2012-01-03","filename":"-","lineno":3,"passthru":"COLOR","d":3,"priority":5000,"r":255,"g":0,"b":0,"rawbody":"Red","body":"255 0 0 Red"}, +{"date":"2012-01-03","filename":"-","lineno":3,"passthru":"COLOR","d":3,"priority":5000,"r":255,"g":0,"b":0,"rawbody":"%\"Red%\" on the calendar!","calendar_body":"Red","plain_body":"Red on the calendar!","body":"255 0 0 %\"Red%\" on the calendar!"}, {"date":"2012-01-04","filename":"-","lineno":5,"d":4,"priority":5000,"body":"Normal"} ] }