diff --git a/simgear/structure/state_machine_test.cxx b/simgear/structure/state_machine_test.cxx
index 73b434c3..558c72b8 100644
--- a/simgear/structure/state_machine_test.cxx
+++ b/simgear/structure/state_machine_test.cxx
@@ -212,15 +212,23 @@ void testBindings()
void testParse()
{
- const char* xml = ""
- ""
- ""
- "one"
- ""
- ""
- "two"
- ""
- "";
+ const char* xml = R"(
+
+
+ one
+
+ nasal
+
+
+
+ nasal
+
+
+
+
+ two
+
+ )";
SGPropertyNode* desc = new SGPropertyNode;
readProperties(xml, strlen(xml), desc);