drop reference to obsolete symbol from unit test
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 25 Apr 2019 13:58:55 +0000 (15:58 +0200)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Thu, 25 Apr 2019 13:59:22 +0000 (15:59 +0200)
The revert

    commit 49ee03b8f8540d2f09ebd416d2f3e09350300573 (origin/master, origin/HEAD)
    Author: Christian Herdtweck <christian.herdtweck@intra2net.com>
    Date:   Thu Apr 18 17:35:21 2019 +0200

        Revert "Add another convenience function allowing i18n_noops("foo")+"bar""

failed to revert one use of i18n_noops() from the unit tests
which breaks the build. Fix it by removing the call.

test/test_i18n.cpp

index e0470ca..c24c46f 100644 (file)
@@ -151,7 +151,6 @@ BOOST_AUTO_TEST_CASE(Noop)
 {
     BOOST_CHECK_EQUAL(i18n_noop("Test"), "Test");
     BOOST_CHECK_EQUAL(i18n_noop(" Test "), " Test ");
-    BOOST_CHECK_EQUAL(i18n_noops("Test") + "2", "Test2");   // this only works if first operand of "+" is string
 }
 
 BOOST_AUTO_TEST_SUITE_END()