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>2015-07-01 20:35:22 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-07-01 20:35:22 +0300
commit580d28d071c6c7d3338dc643b99e41773a540846 (patch)
treee68332503d4b0a1011a2448fd3889dd9e319ba9f /t/custom_gcode.t
parent249088b4f8d5ac61c97c6590e6d8b3cb3ba6f88b (diff)
Finished porting PlaceholderParser to XS
Diffstat (limited to 't/custom_gcode.t')
-rw-r--r--t/custom_gcode.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/custom_gcode.t b/t/custom_gcode.t
index cbd5741f4..9d68d1eed 100644
--- a/t/custom_gcode.t
+++ b/t/custom_gcode.t
@@ -47,7 +47,8 @@ use Slic3r::Test;
{
my $parser = Slic3r::GCode::PlaceholderParser->new;
$parser->apply_config(my $config = Slic3r::Config->new_from_defaults);
- is $parser->process('[temperature_[foo]]', { foo => '1' }),
+ $parser->set('foo' => '0');
+ is $parser->process('[temperature_[foo]]'),
$config->temperature->[0],
"nested config options";
}