Commit 14aae264 authored by LRN's avatar LRN Committed by Philip Withnall

autoptr test: Use OS-dependent path separator

Since GFile canonicalizes the path it is given, expect the '\\' separator
on Windows.
parent 294d8183
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment