pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2003-03-08
2003-03-08 12:28:55 by Mirar (Pontus Hagland) <pike@sort.mirar.org>
3a2b82d7a65fd79c72f659b48d1cc3222843a3ad (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
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)