From 8ad200a3524bc0a5aea703557ab304317122b090 Mon Sep 17 00:00:00 2001
From: Alessandro Ranellucci <aar@cpan.org>
Date: Thu, 6 Nov 2014 21:13:30 +0100
Subject: [PATCH] Minor cleanup of t/gcode.t

---
 t/gcode.t | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/t/gcode.t b/t/gcode.t
index ee92d199c..573833428 100644
--- a/t/gcode.t
+++ b/t/gcode.t
@@ -88,11 +88,7 @@ use Slic3r::Test;
     $config->set('retract_length', [1000000]);
     $config->set('use_relative_e_distances', 1);
     my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
-    Slic3r::GCode::Reader->new->parse(Slic3r::Test::gcode($print), sub {
-        my ($self, $cmd, $args, $info) = @_;
-        
-        
-    });
+    Slic3r::Test::gcode($print);
     ok $print->print->total_used_filament > 0, 'final retraction is not considered in total used filament';
 }