aboutsummaryrefslogtreecommitdiffstats
path: root/tests/entries.bats
diff options
context:
space:
mode:
authoritspngu <34752364+itspngu@users.noreply.github.com>2020-12-21 19:31:41 +0100
committeritspngu <34752364+itspngu@users.noreply.github.com>2020-12-21 19:31:41 +0100
commita933010810b91b8cdefcd264fe4a23ffb9689069 (patch)
tree8622e4e150b37b874f1f6bc8cf59df2ed9991b22 /tests/entries.bats
parent9859390621dbddcdd6447df55e17a8a0f6e5d5c5 (diff)
downloadsway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.tar.gz
sway-launcher-desktop-a933010810b91b8cdefcd264fe4a23ffb9689069.zip
make tests individually executable
Diffstat (limited to 'tests/entries.bats')
-rwxr-xr-x[-rw-r--r--]tests/entries.bats4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/entries.bats b/tests/entries.bats
index e6781ed..dd77fd8 100644..100755
--- a/tests/entries.bats
+++ b/tests/entries.bats
@@ -1,3 +1,5 @@
+#!/usr/bin/env bats
+
@test "Firefox desktop entry and all its actions are extracted" {
run ../sway-launcher-desktop.sh entries data/desktop-files/0/applications/firefox.desktop
echo -e "OUTPUT:\n$output"
@@ -19,4 +21,4 @@
echo "EXPECTED: foo-bar.desktop ACTUAL: $output"
[ "$status" -eq 0 ]
[[ ${#lines[@]} == 6 ]]
-} \ No newline at end of file
+}