Skip to content

Commit dd83864

Browse files
committed
Fix xt/ tests.
1 parent 38846bc commit dd83864

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

EXAMPLES.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ blocks are considered.
77

88
## Testing Examples
99

10-
The file `xt/examples-compilation.t` will test code. This file is run
11-
as part of `make xtest`. Each sample
10+
The file `xt/examples-compilation.t` will test the code from all the
11+
examples. This file is run as part of `make xtest`.
1212

1313
Note that method signatures are also compiled. They have an implied block
1414
added to insure valid compilation.
@@ -20,7 +20,7 @@ runtime code is executed, and that a class is available if needed.
2020

2121
While our goal is to test every example of Perl 6 in the repository, some
2222
blocks are not easy to test. Here are some ways you can skip the test or
23-
finesse it.
23+
finesse it.
2424

2525
### Other languages
2626

@@ -32,8 +32,8 @@ We're just testing Perl 6 here: to skip another language, use `:lang`
3232

3333
### Allow .WHAT
3434

35-
One of the checks is to dissaude using `.WHAT` in tests; However, rarely
36-
that is the explicit point of the test. You can whitelist it:
35+
One of the checks is to dissuade using `.WHAT` in tests; However, in rare
36+
cases that is the explicit point of the test, so you can explicitly allow it:
3737

3838
=begin code :ok-test<WHAT>
3939
say 42.WHAT;

xt/code.pws

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ xf
352352
xff
353353
xffff
354354
xoooo
355+
xt
355356
xyz
356357
yday
357358
yourapp

0 commit comments

Comments
 (0)