changeset 2741:0d126fbe022d

[project @ 1997-02-25 09:00:48 by jwe]
author jwe
date Tue, 25 Feb 1997 09:00:57 +0000
parents 1f9d2f699399
children eeb061f9cdbf
files test/octave.test/string/findstr-1.m test/octave.test/string/rindex-1.m
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/octave.test/string/findstr-1.m
+++ b/test/octave.test/string/findstr-1.m
@@ -1,3 +1,3 @@
-(findstr ("ababab", "a") == [1, 3, 5]
- && findstr ("ababab", "aba") == [1, 3, 5]
- && findstr ("ababab", "aba", 0) == [1, 5])
+(findstr ("abababa", "a") == [1, 3, 5, 7]
+ && findstr ("abababa", "aba") == [1, 3, 5]
+ && findstr ("abababa", "aba", 0) == [1, 5])
--- a/test/octave.test/string/rindex-1.m
+++ b/test/octave.test/string/rindex-1.m
@@ -1,1 +1,1 @@
-rindex ("foobarbaz", "b") == 6 && rindex ("foobarbaz", "o") == 3
+rindex ("foobarbaz", "b") == 7 && rindex ("foobarbaz", "o") == 3