diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-11-06 23:11:59 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-11-06 23:11:59 +0300 |
commit | 9372abb51ee2a1cac0eacf27c1262a8b58bf1c12 (patch) | |
tree | 360b44f96990f4e7d86c923bd469006dd3623700 /t/skirt_brim.t | |
parent | 06385221a3cac714da543947e7c0bfffb00d601b (diff) |
Fixed regression in min_skirt_length. Includes regression test. #2337
Diffstat (limited to 't/skirt_brim.t')
-rw-r--r-- | t/skirt_brim.t | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/t/skirt_brim.t b/t/skirt_brim.t index a21205e64..c7377abf8 100644 --- a/t/skirt_brim.t +++ b/t/skirt_brim.t @@ -1,4 +1,4 @@ -use Test::More tests => 4; +use Test::More tests => 5; use strict; use warnings; @@ -124,4 +124,11 @@ use Slic3r::Test; ok $skirt_length > $hull_perimeter, 'skirt lenght is large enough to contain object with support'; } +{ + my $config = Slic3r::Config->new_from_defaults; + $config->set('min_skirt_length', 20); + my $print = Slic3r::Test::init_print('20mm_cube', config => $config); + ok Slic3r::Test::gcode($print), 'no crash when using min_skirt_length'; +} + __END__ |