From dda34313e18b9931e4632aa4f3fdc32c341d5217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Mon, 22 Jun 2020 23:04:37 +0200 Subject: #23 Fix tests that assert the number of desktop files --- tests/entries.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3