From c021d60d41c5e2b506f9ab4da4f59b8d96f09dfc Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 29 Mar 2020 09:23:13 +0200 Subject: [PATCH] Updated unit test --- src/db/unit_tests/dbStreamLayerTests.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db/unit_tests/dbStreamLayerTests.cc b/src/db/unit_tests/dbStreamLayerTests.cc index 4143bd927..f9338bc74 100644 --- a/src/db/unit_tests/dbStreamLayerTests.cc +++ b/src/db/unit_tests/dbStreamLayerTests.cc @@ -386,7 +386,7 @@ TEST(6) EXPECT_EQ (layers_to_string (ly), "1/0,3/10,2/0"); - // this will create layer 2/0 in the layout + // this will create layer 2/42 in the layout p = lm.logical (db::LayerProperties (2, 42), ly); EXPECT_EQ (p.first, true); EXPECT_EQ (p.second, (unsigned int) 3); @@ -404,6 +404,6 @@ TEST(6) EXPECT_EQ (layers_to_string (ly), "1/0,3/10,2/0,2/42"); EXPECT_EQ (lm.to_string (), - "layer_map('1/0';'3/10-*';'2/0';'2/42';'2/1-41,43-* : */*')" + "layer_map('1/0';'3/10-*';'2/0 : 2/0';'2/42 : 2/42';'2/1-41,43-* : */*')" ); }