Skip to content

Commit

Permalink
Test jenkins (#41)
Browse files Browse the repository at this point in the history
* Update Jenkinsfile

* Update matchcontinueTests.jl

Co-authored-by: Martin Sjölund <martin+github@sjoelund.se>
  • Loading branch information
JKRT and sjoelund authored Feb 13, 2020
1 parent b514423 commit f48bdf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/matchcontinueTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using Test

@test 2 == @matchcontinue Cons(1,nil) begin
# MM: case x::_ then fail()
x <| _ => throw(MatchFailure("Some custom failure here"))
x <| _ => throw(MatchFailure("Some custom failure here", 0))
# MM: case (x as 1)::_ then 2*x
(x && 1) <| _ => 2*x
_ => 3
Expand Down

0 comments on commit f48bdf5

Please sign in to comment.