From 416b447ab0c3ccd123c621d943e28ab22359379c Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Fri, 14 Nov 2025 15:05:27 +0800 Subject: [PATCH] Fix compile --- tests/fff_print/test_gcodewriter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/fff_print/test_gcodewriter.cpp b/tests/fff_print/test_gcodewriter.cpp index c43bdc56e7..05aefc3c72 100644 --- a/tests/fff_print/test_gcodewriter.cpp +++ b/tests/fff_print/test_gcodewriter.cpp @@ -20,13 +20,13 @@ SCENARIO("lift() is not ignored after unlift() at normal values of Z", "[GCodeWr double trouble_Z = 203; writer.travel_to_z(trouble_Z); AND_WHEN("GcodeWriter::Lift() is called") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_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.z_hop.values[0]).size() == 0); AND_WHEN("GCodeWriter::Unlift() is called") { REQUIRE(writer.unlift().size() == 0); // we're the same height so no additional move happens. THEN("GCodeWriter::Lift() emits gcode.") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_lift().size() > 0); } } } @@ -36,13 +36,13 @@ SCENARIO("lift() is not ignored after unlift() at normal values of Z", "[GCodeWr double trouble_Z = 500003; writer.travel_to_z(trouble_Z); AND_WHEN("GcodeWriter::Lift() is called") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_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.z_hop.values[0]).size() == 0); AND_WHEN("GCodeWriter::Unlift() is called") { REQUIRE(writer.unlift().size() == 0); // we're the same height so no additional move happens. THEN("GCodeWriter::Lift() emits gcode.") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_lift().size() > 0); } } } @@ -52,13 +52,13 @@ SCENARIO("lift() is not ignored after unlift() at normal values of Z", "[GCodeWr double trouble_Z = 10.3; writer.travel_to_z(trouble_Z); AND_WHEN("GcodeWriter::Lift() is called") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_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.z_hop.values[0]).size() == 0); AND_WHEN("GCodeWriter::Unlift() is called") { REQUIRE(writer.unlift().size() == 0); // we're the same height so no additional move happens. THEN("GCodeWriter::Lift() emits gcode.") { - REQUIRE(writer.lift().size() > 0); + REQUIRE(writer.lazy_lift().size() > 0); } } }