Removed setenv() test as we can't test environment variables in Perl since they are now set in XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 20:15:52 +02:00
parent bf9cd1b8e6
commit 76b2e88551

View File

@ -1,4 +1,4 @@
use Test::More tests => 2; use Test::More tests => 1;
use strict; use strict;
use warnings; use warnings;
@ -10,13 +10,6 @@ BEGIN {
use Slic3r; use Slic3r;
use Slic3r::Test; use Slic3r::Test;
{
my $config = Slic3r::Config->new_from_defaults;
$config->set('layer_height', 0.123);
$config->setenv;
is $ENV{SLIC3R_LAYER_HEIGHT}, '0.123', 'setenv';
}
{ {
my $config = Slic3r::Config->new_from_defaults; my $config = Slic3r::Config->new_from_defaults;
$config->set('perimeter_extrusion_width', '250%'); $config->set('perimeter_extrusion_width', '250%');