Fix false positive in lift unit test

This commit is contained in:
Alessandro Ranellucci 2015-12-19 15:00:56 +01:00
parent 667a121ddb
commit 790dbfe9a8

View File

@ -208,7 +208,7 @@ use Slic3r::Test qw(_eq);
my @lifted_at = (); my @lifted_at = ();
my $test = sub { my $test = sub {
my $print = Slic3r::Test::init_print('20mm_cube', config => $config); my $print = Slic3r::Test::init_print('20mm_cube', config => $config, duplicate => 2);
@lifted_at = (); @lifted_at = ();
Slic3r::GCode::Reader->new->parse(Slic3r::Test::gcode($print), sub { Slic3r::GCode::Reader->new->parse(Slic3r::Test::gcode($print), sub {
my ($self, $cmd, $args, $info) = @_; my ($self, $cmd, $args, $info) = @_;