[glib] tests: remove a pair of testcases that fail in en_CA



commit a8939a67dea9af04cd2735fd05944da764857d7b
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Mar 18 22:57:55 2013 -0400

    tests: remove a pair of testcases that fail in en_CA
    
    These testcases don't work with the Canadian date format, so remove
    them.

 glib/tests/date.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/glib/tests/date.c b/glib/tests/date.c
index 51b51e2..786b80f 100644
--- a/glib/tests/date.c
+++ b/glib/tests/date.c
@@ -130,18 +130,6 @@ test_parse (void)
   g_assert_cmpint (g_date_get_day (d), ==, 10);
   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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]