Skip to content

Commit 9fc1b7a

Browse files
committed
Fix undeclared routine used in test
The test relied on the compiler only reporting the expected error, but a more advanced compiler may report both that one and the undeclared routine.
1 parent 48466a5 commit 9fc1b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

S03-metaops/zip.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ is (1, 2 Z, 3, 4).flat.join('|'), '1|3|2|4', 'Z, flattens in list context';
109109
ok !(1..* Z* 1..5 Z* 1..*).is-lazy, "laziness defeated by middle argument (Z*)";
110110
}
111111

112-
throws-like '3 Z. foo', X::Syntax::CannotMeta, "Z. is too fiddly";
112+
throws-like '3 Z. note', X::Syntax::CannotMeta, "Z. is too fiddly";
113113
throws-like '3 Z. "foo"', X::Obsolete, "Z. can't do P5 concat";
114114

115115
is-deeply &infix:<Z+>((1,2,3),(4,5,6)), (5, 7, 9), "Meta zip can autogen";

0 commit comments

Comments
 (0)