From 6a90fceaaf38e30b4ac4e00cb503625a7c5ca7e9 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 20 Dec 2016 19:01:51 +0100 Subject: Ported expanded_output_filepath() to C++/XS --- t/custom_gcode.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/custom_gcode.t b/t/custom_gcode.t index 9d68d1eed..f6bfd366f 100644 --- a/t/custom_gcode.t +++ b/t/custom_gcode.t @@ -59,7 +59,7 @@ use Slic3r::Test; $config->set('start_gcode', "TRAVEL:[travel_speed] HEIGHT:[layer_height]\n"); my $print = Slic3r::Test::init_print('20mm_cube', config => $config); - my $output_file = $print->print->expanded_output_filepath; + my $output_file = $print->print->output_filepath; my ($t, $h) = map $config->$_, qw(travel_speed layer_height); ok $output_file =~ /ts_${t}_/, 'print config options are replaced in output filename'; ok $output_file =~ /lh_$h\./, 'region config options are replaced in output filename'; -- cgit v1.2.3