yaml-cpp/test/ostream_wrapper_test.cpp

16 lines
310 B
C++
Raw Normal View History

2014-03-23 04:15:49 +04:00
#include "yaml-cpp/ostream_wrapper.h"
#include "gtest/gtest.h"
namespace {
class OstreamWrapperTest : public ::testing::Test {
protected:
};
// Tests that the Foo::Bar() method does Abc.
TEST_F(OstreamWrapperTest, ConstructNoWrite) {
YAML::ostream_wrapper wrapper;
EXPECT_STREQ("", wrapper.str());
}
}