From 872a48dacbfe04534380277eb62159ee03eb231b Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 27 Sep 2017 14:33:57 +0100 Subject: [PATCH] Extend the state-machine parsing test slightly --- simgear/structure/state_machine_test.cxx | 26 ++++++++++++++++-------- 1 file changed, 17 insertions(+), 9 deletions(-) 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);