Browse Source

Update tests to match 2-space indenting.

(The indenting was changed from 4 spaces per level to 2 in order
to better match eeschema's netlist output and pcbnew's board file
output.)
merge-requests/1/head
Jeff Young 6 years ago
parent
commit
65e5adcd19
  1. 2
      qa/libs/sexpr/test_sexpr.cpp
  2. 2
      qa/libs/sexpr/test_sexpr_parser.cpp

2
qa/libs/sexpr/test_sexpr.cpp

@ -103,7 +103,7 @@ BOOST_AUTO_TEST_CASE( AsStringList )
// REVIEW: should there be a space at the end of the "symbol"? // REVIEW: should there be a space at the end of the "symbol"?
BOOST_CHECK_PREDICATE( KI_TEST::SexprConvertsToString, BOOST_CHECK_PREDICATE( KI_TEST::SexprConvertsToString,
( (SEXPR::SEXPR&) s_list )( "(symbol \n" ( (SEXPR::SEXPR&) s_list )( "(symbol \n"
" (2 42.42 \"substring\") 1 3.14 \"string\")" ) );
" (2 42.42 \"substring\") 1 3.14 \"string\")" ) );
} }
BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END()

2
qa/libs/sexpr/test_sexpr_parser.cpp

@ -220,7 +220,7 @@ BOOST_AUTO_TEST_CASE( StringRoundtrip )
}, },
{ {
"nested list", // REVIEW space after 42? "nested list", // REVIEW space after 42?
"(42 \n (1 2))",
"(42 \n (1 2))",
}, },
}; };

Loading…
Cancel
Save