diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-31 21:40:32 +0100 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2019-10-31 21:40:32 +0100 |
| commit | abcb891359649559981d0ef522ed16ddf2b68908 (patch) | |
| tree | d7777df252c44d1b29ea7474711dce181f5e5c2c /tests/generate-command.bats | |
| parent | ac656f120a12e3521c4cabbc96e0363f746193a4 (diff) | |
| download | sway-launcher-desktop-abcb891359649559981d0ef522ed16ddf2b68908.tar.gz sway-launcher-desktop-abcb891359649559981d0ef522ed16ddf2b68908.zip | |
Generate a spec-conformant "desktop file id" of each .desktop file and remove duplicates. This should process user-specific overrides properly #3
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 |
