Skip to content

Commit

Permalink
Tests for RT#125674 (todo-ed)
Browse files Browse the repository at this point in the history
There is a commit¹ with a message that claims that the issue is now
resolved, but it does not seem to be the case.

¹ – rakudo/rakudo@5747bc7121
  • Loading branch information
AlexDaniel committed Feb 2, 2018
1 parent 323a2b6 commit f9f5034
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S32-exceptions/misc.t
Expand Up @@ -5,7 +5,7 @@ use lib "t/spec/packages";
use Test;
use Test::Util;

plan 438;
plan 439;

throws-like '42 +', Exception, "missing rhs of infix", message => rx/term/;

Expand Down Expand Up @@ -557,6 +557,13 @@ throws-like 'say 1 if 2 if 3 { say 3 }', X::Syntax::Confused,
pre => { m/'1 if 2'/ },
post => { m/'3 { say 3 }'/ };

# RT #125674
#?rakudo todo 'Wrong eject position'
throws-like 'if True if { };', X::Syntax::Missing,
what => 'block',
pre => 'if True ',
post => 'if { };';

# RT #77522
throws-like '/\ X/', X::Syntax::Regex::Unspace,
message => { m/'No unspace allowed in regex' .+ '(\' \')' .+ '\x20'/ }, char => { m/' '/ };
Expand Down

0 comments on commit f9f5034

Please sign in to comment.