diff options
author | Lukas Matena <lukasmatena@seznam.cz> | 2018-03-28 11:16:04 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2018-03-28 11:16:04 +0300 |
commit | 0d2637fede41b966361fbc03876a892e1d64ad56 (patch) | |
tree | f0b863dae5210a560e22bfff4ad72cd4dbd11c6a /t/custom_gcode.t | |
parent | 4da6085ef883a8139417f25c6650045379c4cc44 (diff) |
t tests changed so they don't fail on the extruder number check
Diffstat (limited to 't/custom_gcode.t')
-rw-r--r-- | t/custom_gcode.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/custom_gcode.t b/t/custom_gcode.t index bafcd4610..31d1d48e0 100644 --- a/t/custom_gcode.t +++ b/t/custom_gcode.t @@ -49,7 +49,6 @@ use Slic3r::Test; my $parser = Slic3r::GCode::PlaceholderParser->new; my $config = Slic3r::Config::new_from_defaults; $config->set('printer_notes', ' PRINTER_VENDOR_PRUSA3D PRINTER_MODEL_MK2 '); - $config->set('nozzle_diameter', [0.6, 0.6, 0.6, 0.6]); $parser->apply_config($config); $parser->set('foo' => 0); $parser->set('bar' => 2); @@ -123,6 +122,7 @@ use Slic3r::Test; { my $config = Slic3r::Config->new; + $config->set('nozzle_diameter', [0.6,0.6,0.6,0.6]); $config->set('extruder', 2); $config->set('first_layer_temperature', [200,205]); @@ -204,6 +204,7 @@ use Slic3r::Test; { my $config = Slic3r::Config->new; + $config->set('nozzle_diameter', [0.6,0.6,0.6,0.6,0.6]); $config->set('start_gcode', qq! ;substitution:{if infill_extruder==1}if block {elsif infill_extruder==2}elsif block 1 @@ -228,6 +229,7 @@ use Slic3r::Test; { my $config = Slic3r::Config->new; + $config->set('nozzle_diameter', [0.6,0.6,0.6,0.6]); $config->set('start_gcode', ';substitution:{if infill_extruder==1}{if perimeter_extruder==1}block11{else}block12{endif}' . '{elsif infill_extruder==2}{if perimeter_extruder==1}block21{else}block22{endif}' . |