Skip to content

Commit

Permalink
0.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 24, 2022
1 parent 24fd454 commit b1b36fd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Revision history for App-Rak

{{$NEXT}}

0.2.14 2022-11-24T22:31:37+01:00
- Fix some verbosity when reading from STDIN
- Merge consecutive regexes in multi-part needle into a
single regex
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
],
"test-depends": [
],
"version": "0.2.13"
"version": "0.2.14"
}
2 changes: 2 additions & 0 deletions patterns
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/ eigh. /
/ nin. /
13 changes: 12 additions & 1 deletion xt/01-simple.rakutest
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ my $dir = $*PROGRAM.parent.sibling("q");
my $dira = $dir.absolute ~ $*SPEC.dir-sep;
my $rel := $dir.relative ~ $*SPEC.dir-sep;
my $dot = $?FILE.IO.parent.parent;
my $rak := $dot.add("bin").add("rak").relative;

my $patterns := $dot.add("patterns");
my $rak := $dot.add("bin").add("rak").relative;

my @filenames := <zero one two three four five six seven eight nine>;
my %name2path = @filenames.map: { $_ => $dir.add($_).absolute }
Expand Down Expand Up @@ -766,6 +768,15 @@ foo
1:{BON}*\@{BOFF}foo
OK

query-ok "--patterns-from=$patterns.relative()", :!head, ok => qq:to/OK/;
eight
9:{BON}eight{BOFF}

nine
9:{BON}eight{BOFF}
10:{BON}nine{BOFF}
OK

done-testing;

# vim: expandtab shiftwidth=4

0 comments on commit b1b36fd

Please sign in to comment.