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