From b647bc49c898930f747594bb8f94ddfe62643deb Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Mon, 30 Jul 2018 11:16:02 -0500 Subject: [PATCH] Use .values[0] --- src/test/libslic3r/test_gcodewriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/libslic3r/test_gcodewriter.cpp b/src/test/libslic3r/test_gcodewriter.cpp index f454f0385..98afa0ec6 100644 --- a/src/test/libslic3r/test_gcodewriter.cpp +++ b/src/test/libslic3r/test_gcodewriter.cpp @@ -24,7 +24,7 @@ SCENARIO("lift() is not ignored after unlift() at large values of Z", "[!mayfail AND_WHEN("GcodeWriter::Lift() is called") { REQUIRE(writer.lift().size() > 0); AND_WHEN("Z is moved post-lift to the same delta as the config Z lift") { - REQUIRE(writer.travel_to_z(trouble_Z + config.retract_lift.value).size() == 0); + REQUIRE(writer.travel_to_z(trouble_Z + config.retract_lift.values[0]).size() == 0); AND_WHEN("GCodeWriter::Lift() is called after GCodeWriter::Unlift()") { REQUIRE(writer.unlift().size() > 0); THEN("GCodeWriter::Lift() emits gcode.") {