diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-11-08 21:25:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-08 21:25:28 +0100 |
| commit | 8b8c4b3bf7e6053061aafb880bb7084cea6ef6f4 (patch) | |
| tree | 9b63ea96eea4476fc3676581d5d31afc75b26946 /tests/generate-command.bats | |
| parent | ac656f120a12e3521c4cabbc96e0363f746193a4 (diff) | |
| parent | 9dc1986ab0aa0021d4a2c74e39bd5913a8f7141b (diff) | |
| download | sway-launcher-desktop-8b8c4b3bf7e6053061aafb880bb7084cea6ef6f4.tar.gz sway-launcher-desktop-8b8c4b3bf7e6053061aafb880bb7084cea6ef6f4.zip | |
Merge pull request #4 from Biont/desktop_file_ids
Follow some more XDG Base Directory specifications, resulting in duplicate entries no longer showing up and support of custom/extended XDG_DATA_DIRS setups
Diffstat (limited to 'tests/generate-command.bats')
| -rw-r--r-- | tests/generate-command.bats | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
