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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-11-17 13:15:46 +0300
committerbubnikv <bubnikv@gmail.com>2017-11-17 13:15:46 +0300
commit47f193fe2dd78fd1f5d058ade3ff897ce85cfdb8 (patch)
tree7c33c5b647a0381d8949639658d035e2f9c84459 /t
parent200f176951d06cea9f2e33b7d8a325fb103d14d4 (diff)
The PlaceholderParser has been rewritten to use
a real boost::spirit::qi parser, accessing the DynamicConfig repository directly. This is a first step towards a full fledged expression interpreter.
Diffstat (limited to 't')
-rw-r--r--t/custom_gcode.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/custom_gcode.t b/t/custom_gcode.t
index ed74e750c..a0d96736a 100644
--- a/t/custom_gcode.t
+++ b/t/custom_gcode.t
@@ -48,7 +48,7 @@ use Slic3r::Test;
{
my $parser = Slic3r::GCode::PlaceholderParser->new;
$parser->apply_config(my $config = Slic3r::Config::new_from_defaults);
- $parser->set('foo' => '0');
+ $parser->set('foo' => 0);
is $parser->process('[temperature_[foo]]'),
$config->temperature->[0],
"nested config options";