[m-rev.] trivial diff: fix failing test case - general/string_replace

Julien Fischer juliensf at cs.mu.OZ.AU
Tue Dec 7 16:00:12 AEDT 2004


Estimated hours taken: 0.1
Branches: main

tests/general/string_replace.exp:
	Update the expected output for this test to
	reflect recent changes made to string.replace
	by Peter Ross.B

Julien.

Index: string_replace.exp
===================================================================
RCS file: /home/mercury1/repository/tests/general/string_replace.exp,v
retrieving revision 1.1
diff -u -r1.1 string_replace.exp
--- string_replace.exp	26 Jun 2004 09:23:24 -0000	1.1
+++ string_replace.exp	7 Dec 2004 04:56:47 -0000
@@ -17,7 +17,7 @@
 string__replace_all("aaa bbbb ccccc aaa", "aaaa", "**", Result)
 	"aaa bbbb ccccc aaa"
 string__replace_all("aaa bbbb ccccc aaa", "", "**", Result)
-	"aaa bbbb ccccc aaa"
+	"**a**a**a** **b**b**b**b** **c**c**c**c**c** **a**a**a**"
 string__replace_all("aaa bbbb ccccc aaa", "aaa", "", Result)
 	" bbbb ccccc "
 string__replace_all("aaa bbbb ccccc aaa", "cc", "**", Result)

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list