aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/stringfmt/fmt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/stringfmt/fmt.cpp')
-rw-r--r--vespalib/src/tests/stringfmt/fmt.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/vespalib/src/tests/stringfmt/fmt.cpp b/vespalib/src/tests/stringfmt/fmt.cpp
index d5d6cef3854..af8f5437beb 100644
--- a/vespalib/src/tests/stringfmt/fmt.cpp
+++ b/vespalib/src/tests/stringfmt/fmt.cpp
@@ -1,7 +1,5 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("stringfmt_test");
+
#include <vespa/vespalib/util/stringfmt.h>
#include <vespa/vespalib/util/vstringfmt.h>
#include <vespa/vespalib/testkit/testapp.h>
@@ -13,27 +11,14 @@ class Test : public vespalib::TestApp
{
public:
void testSimple();
- int Main();
+ int Main() override;
};
-/*
-static bool eq(const std::string& a, const std::string& b)
-{
- if (a == b) {
- return true;
- } else {
- LOG(warning, "a(%s) != b(%s)", a.c_str(), b.c_str());
- return false;
- }
-}
-*/
-
static bool eq(const vespalib::string& a, const vespalib::string& b)
{
if (a == b) {
return true;
} else {
- LOG(warning, "a(%s) != b(%s)", a.c_str(), b.c_str());
return false;
}
}