unit-tests: Fix settings test after merging multi-line strings
authorTobias Brunner <tobias@strongswan.org>
Mon, 23 Mar 2015 09:46:32 +0000 (10:46 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 23 Mar 2015 09:46:32 +0000 (10:46 +0100)
src/libstrongswan/tests/suites/test_settings.c

index b9d429a..9601a34 100644 (file)
@@ -908,7 +908,7 @@ START_SETUP(setup_string_config)
                "special = \"all { special } characters # can be used.\"\n"
                "unterminated = \"is fine\n"
                "but = produces a warning\n"
-               "newlines = \"can either be encoded\\nor\\\n"
+               "newlines = \"can either be encoded\\nor \\\n"
                "escaped\"\n"
                "quotes = \"\\\"and\\\" slashes \\\\ can \\\\ be\" # escaped too\n"
                "multiple = \"strings\" are \"combined\"\n"
@@ -922,7 +922,7 @@ START_TEST(test_strings)
        verify_string("all { special } characters # can be used.", "special");
        verify_string("is fine", "unterminated");
        verify_string("produces a warning", "but");
-       verify_string("can either be encoded\nor\nescaped", "newlines");
+       verify_string("can either be encoded\nor escaped", "newlines");
        verify_string("\"and\" slashes \\ can \\ be", "quotes");
        verify_string("strings are combined", "multiple");
 }