BIND 10 trac1892, updated. 989c83fef20b45b183f6dc8e85097ad931feaf50 [1892] Return the placeholders to tests too

BIND 10 source code commits bind10-changes at lists.isc.org
Thu May 3 10:39:02 UTC 2012


The branch, trac1892 has been updated
       via  989c83fef20b45b183f6dc8e85097ad931feaf50 (commit)
      from  6ff859a7e871161f6d17cad42d7045d97f49470b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 989c83fef20b45b183f6dc8e85097ad931feaf50
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Thu May 3 12:37:28 2012 +0200

    [1892] Return the placeholders to tests too
    
    The test code now reflects the code change.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/log/tests/log_formatter_unittest.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/tests/log_formatter_unittest.cc b/src/lib/log/tests/log_formatter_unittest.cc
index d941849..3fb7689 100644
--- a/src/lib/log/tests/log_formatter_unittest.cc
+++ b/src/lib/log/tests/log_formatter_unittest.cc
@@ -119,7 +119,8 @@ TEST_F(FormatterTest, mismatchedPlaceholders) {
                     arg("missing").arg("argument"));
     ASSERT_EQ(1, outputs.size());
     EXPECT_EQ(isc::log::INFO, outputs[0].first);
-    EXPECT_EQ("Missing the first argument", outputs[0].second);
+    EXPECT_EQ("Missing the first argument "
+              "@@Missing placeholder %1 for 'missing'@@", outputs[0].second);
 
     EXPECT_NO_THROW(Formatter(isc::log::INFO, s("Too many arguments in %1 %2"), this).
                     arg("only one"));



More information about the bind10-changes mailing list