From 9a5f4210c13ca206a2d51a92830f8ccf2662768b Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 17 Nov 2021 10:29:35 +0100 Subject: [PATCH] One more fix of the G-code export unit test. --- tests/fff_print/test_gcodewriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fff_print/test_gcodewriter.cpp b/tests/fff_print/test_gcodewriter.cpp index 6342625b48..5804383cc6 100644 --- a/tests/fff_print/test_gcodewriter.cpp +++ b/tests/fff_print/test_gcodewriter.cpp @@ -89,7 +89,7 @@ SCENARIO("set_speed emits values with fixed-point output.", "[GCodeWriter]") { } WHEN("set_speed is called to set speed to 203.200522") { THEN("Output string is G1 F203.201") { - REQUIRE_THAT(GCodeFormatter::XYZF_EXPORT_DIGITS != 3 || writer.set_speed(203.200522), Catch::Equals("G1 F203.201\n")); + REQUIRE_THAT(writer.set_speed(203.200522), GCodeFormatter::XYZF_EXPORT_DIGITS != 3 || Catch::Equals("G1 F203.201\n")); } } }