Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
zoffixznet committed Jun 5, 2017
1 parent d5fe641 commit bfa894f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion t/01-ARGFILES.t
Expand Up @@ -3,7 +3,7 @@ use Testo;

plan 2;

my \a = <-Ilib -MLN -e>;
my \a = ('-Ilib', |('-I' «~« $*REPO.repo-chain.map: *.path-spec), |<-MLN -e>);

group '.ln method' => 3 => {
is-run $*EXECUTABLE, :args[|a, print $*ARGFILES.ln],
Expand Down
6 changes: 3 additions & 3 deletions t/02-imports.t
Expand Up @@ -9,7 +9,7 @@ my @FILES = make-temp-path :content("a\nb\n" ),
make-temp-path :content("g\nh\ni" );

is-run $*EXECUTABLE, :args[
'-Ilib', '-e',
'-Ilib', |('-I' «~« $*REPO.repo-chain.map: *.path-spec), '-e',
use LN;
for lines() {
.say;
Expand All @@ -23,7 +23,7 @@ is-run $*EXECUTABLE, :args[
'no args on use line';

is-run $*EXECUTABLE, :args[
'-Ilib', '-e',
'-Ilib', |('-I' «~« $*REPO.repo-chain.map: *.path-spec), '-e',
use LN 'no-reset';
for lines() {
.say;
Expand All @@ -37,7 +37,7 @@ is-run $*EXECUTABLE, :args[
'reset on use line';

is-run $*EXECUTABLE, :args[
'-Ilib', '-e',
'-Ilib', |('-I' «~« $*REPO.repo-chain.map: *.path-spec), '-e',
use LN <resetdasdsa>;
, |@FILES
], :in("foo\nbar"), :err(/"Unknown option passed to LN module"/),
Expand Down

0 comments on commit bfa894f

Please sign in to comment.