pike.git/
src/
testsuite.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-03-30
1999-03-30 13:34:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>
e27ab25b57d039b9bdecfdcc95937811c2f2f71b (
6
lines) (+
5
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added some tests on replace() with wide-strings.
Rev: src/testsuite.in:1.164
1:
-
stest_true([["$Id: testsuite.in,v 1.
163
1999/03/
20
22
:
24
:
13
hubbe
Exp $"]])
+
stest_true([["$Id: testsuite.in,v 1.
164
1999/03/
30
13
:
34
:
17
grubba
Exp $"]])
cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
2697:
test_eq(replace("test\ntest\n\ntest\ntest",({"\n","\n\n"}),({" ","<p>"})),"test test<p>test test") test_eq(replace("test\ntest\n\ntest\ntest",({"\n\n","\n"}),({"<p>"," "})),"test test<p>test test")
+
test_eq("123\000456""890"-"\0", "123\456""890")
+
test_eq("123\456000""890"-"\0", "123\456000""890")
+
test_any([[ function reference=lambda(string x, string *a, string *b) {