From 952ce455a62d7bf267f6c5c6721f337d6cadf4dc Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Sat, 30 May 2020 15:18:09 +0200 Subject: [PATCH] Reactivated the test --- tests/FilesT.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/FilesT.cpp b/tests/FilesT.cpp index 5831210b..b64264db 100644 --- a/tests/FilesT.cpp +++ b/tests/FilesT.cpp @@ -346,14 +346,12 @@ TEST_CASE("[Files] wrong (overlapping) replacement for defines") REQUIRE( synth.getNumRegions() == 3 ); -#if 0 // Note: test checked to be wrong under Sforzando 1.961 // It is the shorter matching $-variable which matches among both. // The rest of the variable name creates some trailing junk text - // which Sforzando accepts without warning. (eg. `key=52Edge`) - REQUIRE( synth.getRegionView(0)->keyRange.getStart() == 52 ); - REQUIRE( synth.getRegionView(0)->keyRange.getEnd() == 52 ); -#endif + // which Sforzando accepts without warning. (eg. `key=57Edge`) + REQUIRE( synth.getRegionView(0)->keyRange.getStart() == 57 ); + REQUIRE( synth.getRegionView(0)->keyRange.getEnd() == 57 ); REQUIRE( synth.getRegionView(1)->keyRange.getStart() == 57 ); REQUIRE( synth.getRegionView(1)->keyRange.getEnd() == 57 );