mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Test writing strings.
This commit is contained in:
parent
a4fd71f4ba
commit
5978412d5c
@ -254,6 +254,10 @@ TEST(WriterTest, WriteDouble) {
|
||||
EXPECT_EQ("-4.2", str(Writer() << -4.2));
|
||||
}
|
||||
|
||||
TEST(WriterTest, WriteString) {
|
||||
EXPECT_EQ("abc", str(Writer() << "abc"));
|
||||
}
|
||||
|
||||
class Date {
|
||||
int year_, month_, day_;
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user