diff options
Diffstat (limited to 'tests/generate-command.bats')
| -rw-r--r-- | tests/generate-command.bats | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/generate-command.bats b/tests/generate-command.bats new file mode 100644 index 0000000..780c963 --- /dev/null +++ b/tests/generate-command.bats @@ -0,0 +1,5 @@ +@test "Exec command is properly extracted from Firefox desktop file" { + run ../sway-launcher-desktop.sh generate-command data/firefox.desktop + [ "$status" -eq 0 ] + [[ "$output" == '/usr/lib/firefox/firefox' ]] +}
\ No newline at end of file |
