add newline at eof
authorMichael Andres <ma@suse.de>
Thu, 6 Sep 2007 12:30:02 +0000 (12:30 +0000)
committerMichael Andres <ma@suse.de>
Thu, 6 Sep 2007 12:30:02 +0000 (12:30 +0000)
tests/zypp/TranslatedText.cc

index 6001483..0c8c846 100644 (file)
@@ -26,32 +26,32 @@ using namespace zypp;
 void test_tt()
 {
   ZYpp::Ptr god;
-  
+
   god = getZYpp();
-  
+
   TranslatedText testTT;
   MIL << "Locale: en" << std::endl;
   god->setTextLocale(Locale("en"));
   testTT.setText("default");
   MIL << "value: '" << testTT.text() << "'" << std::endl;
   BOOST_CHECK_EQUAL( testTT.text(), "default" );
-  
+
   testTT.setText("default english", Locale("en"));
   BOOST_CHECK_EQUAL( testTT.text(), "default english" );
-  
+
   MIL << "Locale: es_ES" << std::endl;
   god->setTextLocale(Locale("es_ES"));
-  
+
   BOOST_CHECK_EQUAL( testTT.text(), "default english" );
-    
+
   testTT.setText("hola esto es neutro", Locale("es"));
   testTT.setText("this is neutral", Locale("en"));
-  
+
   BOOST_CHECK_EQUAL( testTT.text(), "hola esto es neutro" );
-    
+
   testTT.setText("hola Spain", Locale("es_ES"));
   BOOST_CHECK_EQUAL( testTT.text(), "hola Spain" );
-  
+
   MIL << "Locale: null" << std::endl;
   god->setTextLocale(Locale());
   BOOST_CHECK_EQUAL( testTT.text(), "default" );
@@ -63,4 +63,4 @@ init_unit_test_suite( int, char* [] )
     test_suite* test= BOOST_TEST_SUITE( "TranslatedText" );
     test->add( BOOST_TEST_CASE( &test_tt ), 0 /* expected zero error */ );
     return test;
-}
\ No newline at end of file
+}