diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-02-08 15:09:25 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-02-08 16:18:22 -0800 |
commit | 730e5dde39333cb2f63c72a7d7152bee5c4dbb05 (patch) | |
tree | 510ef3e0ad46ecf1f2bee1fa42f26e6377b51686 /src/io/read_test.cpp | |
parent | 7a15a3efe85837d52d950cc9f895eadcc9eb6be1 (diff) | |
download | tmwa-730e5dde39333cb2f63c72a7d7152bee5c4dbb05.tar.gz tmwa-730e5dde39333cb2f63c72a7d7152bee5c4dbb05.tar.bz2 tmwa-730e5dde39333cb2f63c72a7d7152bee5c4dbb05.tar.xz tmwa-730e5dde39333cb2f63c72a7d7152bee5c4dbb05.zip |
Implement AString
Diffstat (limited to 'src/io/read_test.cpp')
-rw-r--r-- | src/io/read_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/io/read_test.cpp b/src/io/read_test.cpp index ebb20ca..5d287dd 100644 --- a/src/io/read_test.cpp +++ b/src/io/read_test.cpp @@ -23,7 +23,7 @@ io::FD string_pipe(ZString sz) TEST(io, read1) { io::ReadFile rf(string_pipe("Hello")); - FString hi; + AString hi; EXPECT_TRUE(rf.getline(hi)); EXPECT_EQ(hi, "Hello"); EXPECT_FALSE(rf.getline(hi)); @@ -31,7 +31,7 @@ TEST(io, read1) TEST(io, read2) { io::ReadFile rf(string_pipe("Hello\n")); - FString hi; + AString hi; EXPECT_TRUE(rf.getline(hi)); EXPECT_EQ(hi, "Hello"); EXPECT_FALSE(rf.getline(hi)); @@ -39,7 +39,7 @@ TEST(io, read2) TEST(io, read3) { io::ReadFile rf(string_pipe("Hello\r")); - FString hi; + AString hi; EXPECT_TRUE(rf.getline(hi)); EXPECT_EQ(hi, "Hello"); EXPECT_FALSE(rf.getline(hi)); @@ -47,7 +47,7 @@ TEST(io, read3) TEST(io, read4) { io::ReadFile rf(string_pipe("Hello\r\n")); - FString hi; + AString hi; EXPECT_TRUE(rf.getline(hi)); EXPECT_EQ(hi, "Hello"); EXPECT_FALSE(rf.getline(hi)); @@ -55,7 +55,7 @@ TEST(io, read4) TEST(io, read5) { io::ReadFile rf(string_pipe("Hello\n\r")); - FString hi; + AString hi; EXPECT_TRUE(rf.getline(hi)); EXPECT_EQ(hi, "Hello"); EXPECT_TRUE(rf.getline(hi)); |