mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +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:
		@@ -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);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user