diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-02-13 21:42:15 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-02-13 21:42:49 +0400 |
commit | 4c650a6d8018d8ca42d6f0145bf40b443a2f1c9f (patch) | |
tree | ec07b07425defb01177fdc295b0e0cc0d72e19c7 /t/config.t | |
parent | 8331c54b670611c0a0bc75f878b344687eb7a3d4 (diff) |
Fix regression about percent extrusion width not being validated. Includes regression test
Diffstat (limited to 't/config.t')
-rw-r--r-- | t/config.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/config.t b/t/config.t index c9af472c7..7950dbb18 100644 --- a/t/config.t +++ b/t/config.t @@ -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__ |