Skip to content

Commit 1a0cd9f

Browse files
committed
Revert changes to a test so it works with nqp, rather than nqpq.
1 parent 6395eaf commit 1a0cd9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

t/nqp/50-regex.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
plan(7);
44

5-
ok(NQPCursor.parse('a', :rule(/<alpha>/), :p(0)),
5+
ok(Regex::Cursor.parse('a', :rule(/<alpha>/), :p(0)),
66
'Can parse "a" with <alpha> and :p(0)');
77

8-
ok(!NQPCursor.parse('a', :rule(/<alpha>/), :p(1)),
8+
ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :p(1)),
99
'Can parse "a" with <alpha> :p(off-range)');
1010

11-
ok(!NQPCursor.parse('a', :rule(/<alpha>/), :c(1)),
11+
ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :c(1)),
1212
'Can parse "a" with <alpha> :c(off-range)');
1313

14-
ok(!NQPCursor.parse('a', :rule(/<alpha>/), :p(5)),
14+
ok(!Regex::Cursor.parse('a', :rule(/<alpha>/), :p(5)),
1515
'Can parse "a" with <alpha> :p(far-off-range)');
1616

1717
ok(?('ABC' ~~ /:i abc/), ':i works with literals');

0 commit comments

Comments
 (0)