Branch: Tag:

2008-01-05

2008-01-05 22:14:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: lib/modules/Calendar.pmod/testsuite.in:1.14
Rev: lib/modules/String.pmod/testsuite.in:1.24

1:   START_MARKER - dnl $Id: testsuite.in,v 1.13 2007/01/02 17:30:06 nilsson Exp $ + dnl $Id: testsuite.in,v 1.14 2008/01/05 22:14:32 grubba Exp $      dnl NOTE:   dnl *every* time the Calendar tests have failed, it's not the
79:   test_WDIFF(d2,d3)   test_WDIFF(d3,d1)   test_any([[ -  sscanf($1,"%d-%d-%d %s %dw%d", -  int y,int m,int d,string wd,int wy,int w); +  sscanf($1, "%*d-%*d-%*d %*s %*dw%d", int w);    return w;   ]], d1->week_no())   test_any([[ -  sscanf($1,"%d-%d-%d %s %dw%d", -  int y,int m,int d,string wd,int wy,int w); +  sscanf($1, "%*d-%*d-%*d %*s %dw%*d", int wy);    return wy;   ]], d1->week()->year_no())   test_do([[ add_constant("d1"); ]])
108:   test_day("2000-01-01 Sat 1999w52")   test_day("2000-12-31 Sun 2000w52")   test_day("2001-01-01 Mon 2001w01") -  +    test_day("2003-12-31 Wed 2004w01")   test_day("2004-01-01 Thu 2004w01")