summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-15 21:32:01 +0200
committerDavid Robillard <d@drobilla.net>2019-04-15 23:03:12 +0200
commitb9978e87e34bbf930d09a80b8f4eb6d541726dd0 (patch)
tree60d38cbfdf73f9907812f9b0176b36b66080f080 /test
parent123faa561b6fad8e510dd0bc00df40fdd5d0574d (diff)
downloadlilv-b9978e87e34bbf930d09a80b8f4eb6d541726dd0.tar.gz
lilv-b9978e87e34bbf930d09a80b8f4eb6d541726dd0.tar.bz2
lilv-b9978e87e34bbf930d09a80b8f4eb6d541726dd0.zip
Remove non-ASCII text from source code
This causes issues on Windows.
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 8b0c1a9..e54c84f 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -1084,7 +1084,7 @@ test_port(void)
" a lv2:ControlPort ; a lv2:InputPort ; "
" lv2:index 0 ; lv2:symbol \"foo\" ; "
" lv2:name \"store\" ; "
- " lv2:name \"dépanneur\"@fr-ca ; lv2:name \"épicerie\"@fr-fr ; "
+ " lv2:name \"Laden\"@de-de ; lv2:name \"Geschaeft\"@de-at ; "
" lv2:name \"tienda\"@es ; "
" rdfs:comment \"comment\"@en , \"commentaires\"@fr ; "
" lv2:portProperty lv2:integer ; "
@@ -1161,20 +1161,20 @@ test_port(void)
// Exact language match
setenv("LANG", "fr_FR", 1);
name = lilv_port_get_name(plug, p);
- TEST_ASSERT(!strcmp(lilv_node_as_string(name), "épicerie"));
+ TEST_ASSERT(!strcmp(lilv_node_as_string(name), "Laden"));
lilv_node_free(name);
// Exact language match (with charset suffix)
setenv("LANG", "fr_CA.utf8", 1);
name = lilv_port_get_name(plug, p);
- TEST_ASSERT(!strcmp(lilv_node_as_string(name), "dépanneur"));
+ TEST_ASSERT(!strcmp(lilv_node_as_string(name), "Geschaeft"));
lilv_node_free(name);
// Partial language match (choose value translated for different country)
setenv("LANG", "fr_BE", 1);
name = lilv_port_get_name(plug, p);
- TEST_ASSERT((!strcmp(lilv_node_as_string(name), "dépanneur"))
- ||(!strcmp(lilv_node_as_string(name), "épicerie")));
+ TEST_ASSERT((!strcmp(lilv_node_as_string(name), "Laden"))
+ ||(!strcmp(lilv_node_as_string(name), "Geschaeft")));
lilv_node_free(name);
// Partial language match (choose country-less language tagged value)