aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Meißelbach <arbelzapf@gmail.com>2020-06-22 23:04:37 +0200
committerMoritz Meißelbach <arbelzapf@gmail.com>2020-06-22 23:04:37 +0200
commitdda34313e18b9931e4632aa4f3fdc32c341d5217 (patch)
tree4752ebaa3fcb042f7aa180d497851a863a4c1aa8
parentcc1aba228b29bba86f1fdd108bf476642f6e1f41 (diff)
downloadsway-launcher-desktop-dda34313e18b9931e4632aa4f3fdc32c341d5217.tar.gz
sway-launcher-desktop-dda34313e18b9931e4632aa4f3fdc32c341d5217.zip
#23 Fix tests that assert the number of desktop files
-rw-r--r--tests/entries.bats4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/entries.bats b/tests/entries.bats
index de18891..e6781ed 100644
--- a/tests/entries.bats
+++ b/tests/entries.bats
@@ -11,12 +11,12 @@
@test "Wildcard expansion works for extraction of desktop files" {
run ../sway-launcher-desktop.sh entries data/desktop-files/0/applications/*.desktop
[ "$status" -eq 0 ]
- [[ ${#lines[@]} == 5 ]]
+ [[ ${#lines[@]} == 6 ]]
}
@test "Reoccurring desktop file ids are not parsed twice" {
run ../sway-launcher-desktop.sh entries data/desktop-files/**/*.desktop
echo "EXPECTED: foo-bar.desktop ACTUAL: $output"
[ "$status" -eq 0 ]
- [[ ${#lines[@]} == 5 ]]
+ [[ ${#lines[@]} == 6 ]]
} \ No newline at end of file