Fix tests when the path to perl has spaces in it
Ed J [Sun, 25 Feb 2018 22:40:05 +0000 (22:40 +0000)]
Changes
t/27filter_generated.t

diff --git a/Changes b/Changes
index fbec7b0..87172f7 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,7 @@
 Revision history for Perl extension DBIx::Class::Schema::Loader
 
+        - Fix tests when the path to perl has spaces in it (GH#19)
+
 0.07048_01 - 2018-02-23
         - Convert from Module::Install to ExtUtils::MakeMaker + Distar (GH#17)
 
index db9a4d6..fc768c2 100644 (file)
@@ -60,7 +60,7 @@ my ($schema_file_count, $result_file_count);
     __PACKAGE__->loader_options(
         dump_directory => $dump_path,
         quiet => 1,
-        filter_generated_code => "$^X t/bin/simple_filter",
+        filter_generated_code => qq{"$^X" t/bin/simple_filter},
     );
 }