[glom] Tests: Update the expected number of locales.



commit e0fb7943a429cf90801076f5c9ab5cc7c3a4cb9c
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Mar 1 10:22:18 2012 +0100

    Tests: Update the expected number of locales.
    
    	* tests/test_document_load_translations.cc: There are now 7 locales in the
    	example document.

 ChangeLog                                |    7 +++++++
 tests/test_document_load_translations.cc |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7009643..6c8aae2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2012-03-01  Murray Cumming  <murrayc murrayc com>
 
+	Tests: Update the expected number of locales.
+
+	* tests/test_document_load_translations.cc: There are now 7 locales in the
+	example document.
+
+2012-03-01  Murray Cumming  <murrayc murrayc com>
+
 	More windows build fixes.
 
 	* glom/libglom/connectionpool_backends/postgres.cc: Add an include and change
diff --git a/tests/test_document_load_translations.cc b/tests/test_document_load_translations.cc
index 3b8671f..52848c5 100644
--- a/tests/test_document_load_translations.cc
+++ b/tests/test_document_load_translations.cc
@@ -243,7 +243,7 @@ int main()
   }
 
   const std::vector<Glib::ustring> locales = document.get_translation_available_locales();
-  g_assert(locales.size() == 5);
+  g_assert(locales.size() == 7);
   g_assert(contains(locales, "de"));
 
   const std::vector<Glib::ustring> table_names = document.get_table_names();



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