Branch: Tag:

2003-03-08

2003-03-08 12:28:55 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

adding string subtraction test on widestrings

Rev: src/testsuite.in:1.616

1: - test_true([["$Id: testsuite.in,v 1.615 2003/03/07 14:17:25 grubba Exp $"]]); + test_true([["$Id: testsuite.in,v 1.616 2003/03/08 12:28:55 mirar Exp $"]]);      // This triggered a bug only if run sufficiently early.   test_compile_any([[#pike 7.2]])
5653:   test_equal((<"foo","bar","gazonk">)-(<"foo","gazonk">),(<"bar">))   test_equal((["foo":3,"bar":4,"gazonk":5])-(["foo":3,"gazonk":8]),(["bar":4]))    + test_equal([[string s="\57070 abcdefghijklmnopqrstuvwxyz012345678"; return strlen(s-s[1..35])]],37-35) +    // testing ~   test_eq(-1-4,~4)   test_eq(-1-627893874,~627893874)