diff --git a/format/xdg/ini/scan_test.ha b/format/xdg/ini/scan_test.ha index d180243..aa36020 100644 --- a/format/xdg/ini/scan_test.ha +++ b/format/xdg/ini/scan_test.ha @@ -34,12 +34,12 @@ use os; locale::parse("en_US")!), entry_new( h_dac, "Name", "Zweep zoop flooble glorp", - locale::parse("xx_XX.UTF-8")!), + locale::parse("xx_XX")!), "Another comment": comment, entry_new(h_dac, "Icon", "fooview-new", locale::c), ]; - let file = os::open("format/desktop_entry/test_data/foo.desktop")!; + let file = os::open("format/xdg/ini/test_data/foo.desktop")!; defer io::close(file)!; let scanne = scan(file); defer finish(&scanne); @@ -83,11 +83,11 @@ use os; locale::parse("en_US")!), entry_new( h_dac, "Name", "Zweep zoop flooble glorp", - locale::parse("xx_XX.UTF-8")!), + locale::parse("xx_XX")!), entry_new(h_dac, "Icon", "fooview-new", locale::c), ]; - let file = os::open("format/desktop_entry/test_data/foo.desktop")!; + let file = os::open("format/xdg/ini/test_data/foo.desktop")!; defer io::close(file)!; let scanne = scan(file); defer finish(&scanne); @@ -109,7 +109,7 @@ use os; assert(entry_equal(parse_entry("hello[sr_YU.UTF-8@Latn]=world")!, entry { key = "hello", value = "world", - locale = locale::parse("sr_YU.UTF-8@Latn")!, + locale = locale::parse("sr_YU@Latn")!, ... })); };