pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
2006-03-25
2006-03-25 12:48:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>
10a1c28d03fab406dfb44acf473a0ac151542e95 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added test of string sorting.
Rev: src/testsuite.in:1.765
1:
START_MARKER
-
test_true([["$Id: testsuite.in,v 1.
764
2006/03/
04
15
:
02
:
49
grubba Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
765
2006/03/
25
12
:
48
:
15
grubba Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]])
9948:
return sort (a); ]], sort(({0, "foo", "gnu"})))
+
test_equal([[
+
sort(({"\Uffffffff","\0", "", "\177", "\377", "\U7fffffff"}));
+
]], ({ "", "\0", "\177", "\377", "\U7fffffff", "\Uffffffff" }))
+
// test large searches (find string, size, pattern) define(test_search,[[ test_eq(sprintf($1+"%'"+$3+"'*n",$2)[..strlen($1)-1],$1)