Skip to content

Commit

Permalink
Add tests for fish_mode_prompt.fish
Browse files Browse the repository at this point in the history
  • Loading branch information
sodisdocs committed Apr 11, 2019
1 parent e44b453 commit e191590
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/fish_mode_prompt.test.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source $current_dirname/../fish_mode_prompt.fish

set --local succeed 0

@test "fish_mode_prompt: succeed" (
fish_mode_prompt
) $status -eq $succeed

@test "fish_mode_prompt: returns nothing" (
fish_mode_prompt
) = ""

0 comments on commit e191590

Please sign in to comment.