From abcb891359649559981d0ef522ed16ddf2b68908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Thu, 31 Oct 2019 21:40:32 +0100 Subject: Generate a spec-conformant "desktop file id" of each .desktop file and remove duplicates. This should process user-specific overrides properly #3 --- tests/generate-command.bats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/generate-command.bats') diff --git a/tests/generate-command.bats b/tests/generate-command.bats index f078946..5dcc512 100644 --- a/tests/generate-command.bats +++ b/tests/generate-command.bats @@ -1,17 +1,17 @@ @test "Exec command is properly extracted from Firefox desktop file" { - run ../sway-launcher-desktop.sh generate-command data/firefox.desktop + run ../sway-launcher-desktop.sh generate-command data/desktop-files/0/applications/firefox.desktop [ "$status" -eq 0 ] [[ "$output" == '/usr/lib/firefox/firefox' ]] } @test "Exec command is properly generated from htop desktop file" { - run ../sway-launcher-desktop.sh generate-command data/htop.desktop + run ../sway-launcher-desktop.sh generate-command data/desktop-files/0/applications/htop.desktop [ "$status" -eq 0 ] [[ "$output" == 'termite -e htop' ]] } @test "Exec command is properly generated from minecraft-launcher desktop file" { - run ../sway-launcher-desktop.sh generate-command data/minecraft-launcher.desktop + run ../sway-launcher-desktop.sh generate-command data/desktop-files/0/applications/minecraft-launcher.desktop [ "$status" -eq 0 ] [[ "$output" == 'cd /opt/minecraft-launcher/ && env GDK_BACKEND=x11 /opt/minecraft-launcher/minecraft-launcher' ]] } \ No newline at end of file -- cgit v1.2.3