diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-24 21:21:27 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-24 21:21:27 +0200 |
| commit | 71d526589f8e7ad8bf92a8e78c34c7af5e1497cb (patch) | |
| tree | 1316e5fecd55ed62f3d1f50a41638f775cb91be5 /tests/generate-command.bats | |
| parent | b57166d0687b2ba9e7981dd4a2e4078abe09acc7 (diff) | |
| parent | 2a4c9971ad00ede63e9f964d21745b108889b0b8 (diff) | |
| download | sway-launcher-desktop-71d526589f8e7ad8bf92a8e78c34c7af5e1497cb.tar.gz sway-launcher-desktop-71d526589f8e7ad8bf92a8e78c34c7af5e1497cb.zip | |
Merge remote-tracking branch 'origin/master'
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 |
