mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 08:05:53 +08:00
Fixed regex to match lines.
This commit is contained in:
parent
5dc227d26b
commit
5e6910de4e
@ -6,9 +6,9 @@
|
||||
|
||||
using namespace Slic3r::Test;
|
||||
|
||||
std::regex perimeters_regex("^G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; perimeter[ ]*$");
|
||||
std::regex infill_regex("^G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; infill[ ]*$");
|
||||
std::regex skirt_regex("^G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; skirt[ ]*$");
|
||||
std::regex perimeters_regex("G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; perimeter");
|
||||
std::regex infill_regex("G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; infill");
|
||||
std::regex skirt_regex("G1 X[-0-9.]* Y[-0-9.]* E[-0-9.]* ; skirt");
|
||||
|
||||
SCENARIO( "PrintGCode basic functionality", "[!mayfail]") {
|
||||
GIVEN("A default configuration and a print test object") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user