Skip to content

Commit

Permalink
Trying to iterate a Failure now throws immediately
Browse files Browse the repository at this point in the history
In response to R#2650
  • Loading branch information
lizmat authored and AlexDaniel committed Jul 16, 2019
1 parent 9b623d6 commit c63438c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions S03-operators/minmax.t
Expand Up @@ -107,11 +107,11 @@ This test min/max functions in their operator form. To see them tested in their
fails-like "max +'a' ", X::Str::Numeric,
'max with one Failure throws';

fails-like "Failure.new.min", Exception, '.min on Failure throws';
fails-like "Failure.new.max", Exception, '.max on Failure throws';
fails-like "Failure.new.min: &infix:<cmp>", Exception,
throws-like "Failure.new.min", Exception, '.min on Failure throws';
throws-like "Failure.new.max", Exception, '.max on Failure throws';
throws-like "Failure.new.min: &infix:<cmp>", Exception,
'.min with :&by on Failure throws';
fails-like "Failure.new.max: &infix:<cmp>", Exception,
throws-like "Failure.new.max: &infix:<cmp>", Exception,
'.max with :&by on Failure throws';
}

Expand Down

0 comments on commit c63438c

Please sign in to comment.