Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-02-13 21:42:15 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-02-13 21:42:49 +0400
commit4c650a6d8018d8ca42d6f0145bf40b443a2f1c9f (patch)
treeec07b07425defb01177fdc295b0e0cc0d72e19c7 /t/config.t
parent8331c54b670611c0a0bc75f878b344687eb7a3d4 (diff)
Fix regression about percent extrusion width not being validated. Includes regression test
Diffstat (limited to 't/config.t')
-rw-r--r--t/config.t8
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__