Updated the test for the default_path test case

This commit is contained in:
Paul Ferrand 2020-01-26 21:16:32 +01:00 committed by GitHub
parent 2818c8e197
commit 87f169a6c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -488,8 +488,9 @@ TEST_CASE("[Files] Case sentitiveness")
{
sfz::Synth synth;
synth.loadSfzFile(fs::current_path() / "tests/TestFiles/case_insensitive.sfz");
REQUIRE(synth.getNumRegions() == 3);
REQUIRE(synth.getNumRegions() == 4);
REQUIRE(synth.getRegionView(0)->sample == "dummy1.wav");
REQUIRE(synth.getRegionView(1)->sample == "Regions/dummy.wav");
REQUIRE(synth.getRegionView(2)->sample == "Regions/dummy.wav");
REQUIRE(synth.getRegionView(3)->sample == "Regions/dummy.wav");
}