From c5328b227e2b8ba81254acf7ee820f098a287c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Thu, 24 Oct 2019 14:54:50 +0200 Subject: Add new tests and test data. Make parsing of desktop entries testable --- tests/describe.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/describe.bats') diff --git a/tests/describe.bats b/tests/describe.bats index 7d2f866..7f26184 100644 --- a/tests/describe.bats +++ b/tests/describe.bats @@ -1,5 +1,5 @@ @test "Name and description of firefox desktop file are properly extracted" { - run ../sway-launcher-desktop.sh describe data/firefox.desktop + run ../sway-launcher-desktop.sh describe data/firefox.desktop desktop [ "$status" -eq 0 ] [[ ${lines[0]} =~ "Firefox" ]] [[ ${lines[1]} =~ "Browse the World Wide Web" ]] -- cgit v1.2.3