Skip to content

Commit a918d58

Browse files
author
Donald Hunter
committed
Fix typo in rindex test case.
1 parent 27bc873 commit a918d58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/nqp/59-nqpop.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ok( nqp::rindex('Hello World', 'l', 2) == 2, 'nqp::rindex with third argument, t
4343
ok( nqp::rindex('Hello World', '') == 11, 'nqp::rindex with empty match returns length');
4444
ok( nqp::rindex('Hello World', '', 1) == 1, 'nqp::rindex with empty match at offset returns offset');
4545
ok( nqp::rindex('Hello World', '', 11) == 11, 'nqp::rindex with empty match at end returns length');
46-
ok( nqp::index('Hello World', '', 100) == -1, 'nqp::rindex with empty match at offset outside string returns -1');
46+
ok( nqp::rindex('Hello World', '', 100) == -1, 'nqp::rindex with empty match at offset outside string returns -1');
4747

4848
ok( nqp::chr(120) eq 'x', 'nqp::chr');
4949
ok( nqp::ord('xyz') eq 120, 'nqp::ord');

0 commit comments

Comments
 (0)