mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
autoptr test: Use OS-dependent path separator
Since GFile canonicalizes the path it is given, expect the '\\' separator on Windows.
This commit is contained in:
parent
294d818336
commit
14aae264d4
@ -8,7 +8,7 @@ test_autoptr (void)
|
||||
g_autofree gchar *path = g_file_get_path (p);
|
||||
g_autofree gchar *istr = g_inet_address_to_string (a);
|
||||
|
||||
g_assert_cmpstr (path, ==, "/blah");
|
||||
g_assert_cmpstr (path, ==, G_DIR_SEPARATOR_S "blah");
|
||||
g_assert_cmpstr (istr, ==, "127.0.0.1");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user