diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-04-21 16:43:41 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-04-21 16:43:41 +0300 |
commit | ee53894c4009a9fad6ac560ea0405c8f3ae21340 (patch) | |
tree | 9735157899aca7028650db2cf4fd8a72248d1d25 /xs | |
parent | 39deffdf5b6cd4f4c2dd699bdc1e6f4e68a75dc9 (diff) |
Another last perl unit test fix
Diffstat (limited to 'xs')
-rw-r--r-- | xs/t/15_config.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/t/15_config.t b/xs/t/15_config.t index 8981e0095..a79fe7a37 100644 --- a/xs/t/15_config.t +++ b/xs/t/15_config.t @@ -70,7 +70,7 @@ foreach my $config (Slic3r::Config->new, Slic3r::Config::Static::new_FullPrintCo ok abs($config->get('first_layer_height') - 0.3) < 1e-4, 'set/get absolute floatOrPercent'; is $config->opt_serialize('first_layer_height'), '0.3', 'serialize absolute floatOrPercent'; - $config->set('first_layer_height', $config->layer_height); + $config->set('first_layer_height', $config->get('layer_height')); $config->get_abs_value('first_layer_height'); ok abs($config->get_abs_value('first_layer_height') - 0.15) < 1e-4, 'set/get relative floatOrPercent'; # is $config->opt_serialize('first_layer_height'), '50%', 'serialize relative floatOrPercent'; |