From cc1aba228b29bba86f1fdd108bf476642f6e1f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Mei=C3=9Felbach?= Date: Mon, 22 Jun 2020 23:01:17 +0200 Subject: #23 update desktop file contents --- tests/describe.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/describe.bats') 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" { -- cgit v1.2.3