From bd5b9f5d75a7fd77ec69152fbae472d1bf8483c6 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 21 Oct 2024 12:38:58 -0400 Subject: [PATCH] format::desktop_entry: Fix test data --- format/desktop_entry/scan_test.ha | 1 + format/desktop_entry/test_data/foo.desktop | 3 +-- format/desktop_entry/value_test.ha | 0 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 format/desktop_entry/value_test.ha diff --git a/format/desktop_entry/scan_test.ha b/format/desktop_entry/scan_test.ha index dc145fc..d180243 100644 --- a/format/desktop_entry/scan_test.ha +++ b/format/desktop_entry/scan_test.ha @@ -9,6 +9,7 @@ use os; let h_dac = "Desktop Action Create"; let correct: []line = [ "This is a comment": comment, + blank, h_de: group_header, entry_new(h_de, "Version", "1.0", locale::c), entry_new(h_de, "Type", "Application", locale::c), diff --git a/format/desktop_entry/test_data/foo.desktop b/format/desktop_entry/test_data/foo.desktop index 5dd3e3e..c39954a 100644 --- a/format/desktop_entry/test_data/foo.desktop +++ b/format/desktop_entry/test_data/foo.desktop @@ -12,8 +12,6 @@ Icon=fooview MimeType=image/x-foo; Actions=Gallery;Create; -Name[en_US]=foo.desktop - [Desktop Action Gallery] Exec=fooview --gallery Name=Browse Gallery @@ -22,5 +20,6 @@ Name=Browse Gallery Exec=fooview --create-new Name=Create a new Foo! Name[en_US]=Create a new Foo! +Name[xx_XX.UTF-8]=Zweep zoop flooble glorp #Another comment Icon=fooview-new diff --git a/format/desktop_entry/value_test.ha b/format/desktop_entry/value_test.ha new file mode 100644 index 0000000..e69de29