Commit c68ecf4f authored by Kenton Varda's avatar Kenton Varda

Testdata may have CRLF line endings on Windows.

parent e1d9976b
...@@ -1703,7 +1703,7 @@ TEST(Encoding, Embeds) { ...@@ -1703,7 +1703,7 @@ TEST(Encoding, Embeds) {
auto root = builder.getRoot<TestAllTypes>(); auto root = builder.getRoot<TestAllTypes>();
initTestMessage(root); initTestMessage(root);
kj::StringPtr text = test::EMBEDDED_TEXT; kj::StringPtr text = test::EMBEDDED_TEXT;
EXPECT_EQ(kj::str(root, '\n').size(), text.size()); EXPECT_EQ(kj::str(root, text.endsWith("\r\n") ? "\r\n" : "\n"), text);
} }
#endif // CAPNP_LITE #endif // CAPNP_LITE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment