Fix regression about percent extrusion width not being validated. Includes regression test

This commit is contained in:
Alessandro Ranellucci 2014-02-13 18:42:15 +01:00
parent 8331c54b67
commit 4c650a6d80
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
use Test::More tests => 1;
use Test::More tests => 2;
use strict;
use warnings;
@ -17,4 +17,10 @@ use Slic3r::Test;
is $ENV{SLIC3R_LAYER_HEIGHT}, '0.123', 'setenv';
}
{
my $config = Slic3r::Config->new_from_defaults;
$config->set('perimeter_extrusion_width', '250%');
ok $config->validate, 'percent extrusion width is validated';
}
__END__