Skip to content

Commit

Permalink
Add conditional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebucaran committed Feb 16, 2019
1 parent 34e0b50 commit 82aaee9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/conditional.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@mesg $current_filename

if true
@test "true" $status -eq 0
end
if false
@test "never runs" $status -eq 1
end

0 comments on commit 82aaee9

Please sign in to comment.