diff --git a/src/plugins/streamers/gds2/unit_tests/dbGDS2WriterTests.cc b/src/plugins/streamers/gds2/unit_tests/dbGDS2WriterTests.cc index 89cb449c5..17f6c5c52 100644 --- a/src/plugins/streamers/gds2/unit_tests/dbGDS2WriterTests.cc +++ b/src/plugins/streamers/gds2/unit_tests/dbGDS2WriterTests.cc @@ -1927,10 +1927,10 @@ TEST(205_extended_props) { TempPropertiesRepository temp_pr; - db::GDS2WriterOptions gds2_opt; - gds2_opt.extended_features = false; db::SaveLayoutOptions options; - options.set_options (gds2_opt); + EXPECT_EQ (options.get_option_by_name ("extended_features").to_bool (), true); + options.set_option_by_name ("extended_features", false); + EXPECT_EQ (options.get_option_by_name ("extended_features").to_bool (), false); db::PropertiesSet ps1; ps1.insert (tl::Variant ("prop_name"), db::DBox (0, 0, 1.5, 2.5));