From e27ab25b57d039b9bdecfdcc95937811c2f2f71b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 30 Mar 1999 15:34:17 +0200 Subject: [PATCH] Added some tests on replace() with wide-strings. Rev: src/testsuite.in:1.164 --- src/testsuite.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/testsuite.in b/src/testsuite.in index e2af507ac2..9942317528 100644 --- a/src/testsuite.in +++ b/src/testsuite.in @@ -1,4 +1,4 @@ -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,6 +2697,9 @@ test_eq(replace("f--barf--",({"f--bar","f--"}),({"f--","f--bar"})),"f--f--bar") 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) { -- GitLab