File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -291,6 +291,13 @@ L«C<is-deeply> routine|/language/testing#index-entry-is-deeply-is-deeply($value
291
291
my Int $a;
292
292
is $a, Int, 'The variable $a is an unassigned Int';
293
293
294
+ B < Note: > if I < only > whitespace differs between the values, C < is() > will output failure
295
+ message differently, to show the whitespace in each values. For example, in the
296
+ output below, the second test shows the literal C < \t > in the C < got: > line:
297
+
298
+ is "foo\tbar", "foo\tbaz"; # expected: 'foo baz'# got: 'foo bar'
299
+ is "foo\tbar", "foo bar"; # expected: "foo bar"# got: "foo\tbar"
300
+
294
301
= item X < isnt($value, $expected, $description?)|isnt >
295
302
296
303
Marks a test as passed if C < $value > and C < $expected > are B < not > equal using
You can’t perform that action at this time.
0 commit comments