mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
tests: remove a pair of testcases that fail in en_CA
These testcases don't work with the Canadian date format, so remove them.
This commit is contained in:
parent
366b0481be
commit
a8939a67de
@ -130,18 +130,6 @@ test_parse (void)
|
|||||||
g_assert_cmpint (g_date_get_day (d), ==, 10);
|
g_assert_cmpint (g_date_get_day (d), ==, 10);
|
||||||
g_assert_cmpint (g_date_get_year (d), ==, 2000);
|
g_assert_cmpint (g_date_get_year (d), ==, 2000);
|
||||||
|
|
||||||
g_date_set_parse (d, "10 10 2010");
|
|
||||||
g_assert (g_date_valid (d));
|
|
||||||
g_assert_cmpint (g_date_get_month (d), ==, 10);
|
|
||||||
g_assert_cmpint (g_date_get_day (d), ==, 10);
|
|
||||||
g_assert_cmpint (g_date_get_year (d), ==, 2010);
|
|
||||||
|
|
||||||
g_date_set_parse (d, "10 March 2010");
|
|
||||||
g_assert (g_date_valid (d));
|
|
||||||
g_assert_cmpint (g_date_get_month (d), ==, 3);
|
|
||||||
g_assert_cmpint (g_date_get_day (d), ==, 10);
|
|
||||||
g_assert_cmpint (g_date_get_year (d), ==, 2010);
|
|
||||||
|
|
||||||
g_date_free (d);
|
g_date_free (d);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user