Remove fmt/folly.h and clean up core API

This commit is contained in:
Victor Zverovich
2018-07-22 14:42:25 -07:00
parent 35538ca66c
commit 5befe6584d
5 changed files with 6 additions and 46 deletions

View File

@@ -86,7 +86,6 @@ endfunction()
add_fmt_test(assert-test)
add_fmt_test(gtest-extra-test)
add_fmt_test(folly-test)
add_fmt_test(format-test)
add_fmt_test(format-impl-test)
add_fmt_test(ostream-test)

View File

@@ -1,14 +0,0 @@
// Formatting library for C++ - folly::StringPiece formatter tests
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
//
// For the license information refer to format.h.
#include <fmt/folly.h>
#include "gtest.h"
TEST(FollyTest, FormatStringPiece) {
EXPECT_EQ(fmt::format("{}", "foo"), "foo");
EXPECT_EQ(fmt::format("{:>5}", "foo"), " foo");
}