diff options
| author | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-06-22 23:01:17 +0200 |
|---|---|---|
| committer | Moritz Meißelbach <arbelzapf@gmail.com> | 2020-06-22 23:01:17 +0200 |
| commit | cc1aba228b29bba86f1fdd108bf476642f6e1f41 (patch) | |
| tree | 917f27dd1db3df69bc7f9e33a434bf350d45ba28 | |
| parent | fe41442f90cb53274540e159f7cfbda4335a5841 (diff) | |
| download | sway-launcher-desktop-cc1aba228b29bba86f1fdd108bf476642f6e1f41.tar.gz sway-launcher-desktop-cc1aba228b29bba86f1fdd108bf476642f6e1f41.zip | |
#23 update desktop file contents
| -rw-r--r-- | tests/data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop | 2 | ||||
| -rw-r--r-- | tests/describe.bats | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop b/tests/data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop index aac8eff..fbffa76 100644 --- a/tests/data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop +++ b/tests/data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop @@ -2,7 +2,7 @@ Type=Application Version=1.0 Name=Sid Meier's Civilization IV -Comment=Official Minecraft Launcher +Comment=Play Civ5 Exec=echo foo Terminal=false Categories=Game;Application;
\ No newline at end of file diff --git a/tests/describe.bats b/tests/describe.bats index 00aa3dc..1ac58ff 100644 --- a/tests/describe.bats +++ b/tests/describe.bats @@ -8,8 +8,8 @@ @test "Desktop file names containing single quotes can be processed" { run env XDG_CONFIG_HOME=./data/config ../sway-launcher-desktop.sh describe desktop "./data/desktop-files/0/applications/Sid Meier's Civilization IV.desktop" [ "$status" -eq 0 ] - [[ ${lines[0]} =~ "Firefox" ]] - [[ ${lines[1]} =~ "Browse the World Wide Web" ]] + [[ ${lines[0]} =~ "Sid Meier's Civilization IV" ]] + [[ ${lines[1]} =~ "Play Civ5" ]] } @test "Name and description of ls command should be given" { |
