diff options
author | Andreas Kling <kling@serenityos.org> | 2021-09-07 12:56:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-07 13:53:14 +0200 |
commit | 6ad427993a64c846c93ecc1fd3bf3f6d6be9cd3d (patch) | |
tree | bf364b00ad62291a34426cc8a820a18b7b8c1aaa /Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp | |
parent | 55b0b06897b7160b5fbc18ff9186a2242bbdf318 (diff) | |
download | serenity-6ad427993a64c846c93ecc1fd3bf3f6d6be9cd3d.zip |
Everywhere: Behaviour => Behavior
Diffstat (limited to 'Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp b/Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp index 542c544ea8..fd294d3a0c 100644 --- a/Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp +++ b/Userland/Applications/Spreadsheet/Writers/Test/TestXSVWriter.cpp @@ -53,7 +53,7 @@ TEST_CASE(can_write_with_header) EXPECT_EQ(StringView { stream.bytes() }, expected_output); } -TEST_CASE(can_write_with_different_behaviours) +TEST_CASE(can_write_with_different_behaviors) { Vector<Vector<String>> data = { { "Well", "Hello\"", "Friends" }, @@ -63,7 +63,7 @@ TEST_CASE(can_write_with_different_behaviours) auto buffer = ByteBuffer::create_uninitialized(1024).release_value(); OutputMemoryStream stream { buffer }; - Writer::CSV csv(stream, data, { "A", "B\"", "C" }, Writer::WriterBehaviour::QuoteOnlyInFieldStart | Writer::WriterBehaviour::WriteHeaders); + Writer::CSV csv(stream, data, { "A", "B\"", "C" }, Writer::WriterBehavior::QuoteOnlyInFieldStart | Writer::WriterBehavior::WriteHeaders); auto expected_output = R"~(A,B",C Well,Hello",Friends |