From: Philipp Gesang Date: Thu, 25 Apr 2019 13:58:55 +0000 (+0200) Subject: drop reference to obsolete symbol from unit test X-Git-Tag: v2.12~15 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=c3df2bda5837805d87bc2f8d6ff7c8bca8e1d6ff;p=libi2ncommon drop reference to obsolete symbol from unit test The revert commit 49ee03b8f8540d2f09ebd416d2f3e09350300573 (origin/master, origin/HEAD) Author: Christian Herdtweck 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. --- diff --git a/test/test_i18n.cpp b/test/test_i18n.cpp index e0470ca..c24c46f 100644 --- a/test/test_i18n.cpp +++ b/test/test_i18n.cpp @@ -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()