Skip to content

Commit

Permalink
fixed whattodo test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Schulz committed May 1, 2018
1 parent b3313b6 commit 8e56f86
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions test/whattodo.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
@test "whattodo" {
run ../bin/lzt --dir data/zdf whattodo
[ "$status" -eq 0 ]
[ "${lines[0]}" = "func1b -> ex1" ]
[ "${lines[1]}" = "func1c -> lua ex1 adoc" ]
[ "${lines[2]}" = "func2ax -> adoc" ]
[ "${lines[3]}" = "func2baxz -> ex1 adoc" ]
[ "${lines[4]}" = "func2y -> lua ex1 adoc" ]
[ "${lines[0]}" = "todos:" ]
[ "${lines[1]}" = "func1b -> ex1" ]
[ "${lines[2]}" = "func1c -> lua ex1 adoc" ]
[ "${lines[3]}" = "func2ax -> adoc" ]
[ "${lines[4]}" = "func2baxz -> ex1 adoc" ]
[ "${lines[5]}" = "func2y -> lua ex1 adoc" ]
[ "${lines[6]}" = "xyz -> lua ex1 adoc" ]
}

0 comments on commit 8e56f86

Please sign in to comment.