Skip to content

Commit

Permalink
Temporarily disable lang-ver-before tests
Browse files Browse the repository at this point in the history
They would probably need individual files because EVAL doesn't currently
support `use v6.X`
  • Loading branch information
vrurg committed Jul 12, 2019
1 parent fb6a7d3 commit d3e0c52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions t/02-rakudo/99-misc.t
Expand Up @@ -6,12 +6,15 @@ plan 10;

subtest '.lang-ver-before method on Perl6::World' => {
plan 5;
skip "use v6.X is currently unsupported by EVAL", 4;
if False {
ok use v6.c; BEGIN $*W.lang-ver-before: 'd'.EVAL, 'c is before d';
nok use v6.c; BEGIN $*W.lang-ver-before: 'c'.EVAL, 'c is not before d';
nok use v6.e.PREVIEW; BEGIN $*W.lang-ver-before: 'e'.EVAL,
'e.PREVIEW is not before e';
nok use v6.e.PREVIEW; BEGIN $*W.lang-ver-before: 'd'.EVAL,
'e is not before d';
}
throws-like BEGIN $*W.lang-ver-before: <6.d>, Exception,
:self{.exception.message.contains: 'must be 1 char long'},
'using wrong version format as argument throws';
Expand Down

0 comments on commit d3e0c52

Please sign in to comment.