Permalink
Browse files

Added minimal testing

  • Loading branch information...
1 parent 1100d90 commit f172d0444a27210ed59d0594dfb70893d1108ef3 @Leont committed Jun 20, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 t/10-basics.t
View
@@ -0,0 +1,16 @@
+#! perl
+
+use strict;
+use warnings;
+
+use Test::More;
+
+use Capture::Tiny 'capture';
+use Config;
+use Devel::FindPerl 'find_perl_interpreter';
+
+my $perl = find_perl_interpreter;
+
+is(capture { system $perl, qw(-MConfig=myconfig -e print -e myconfig) }, Config->myconfig, 'Config of found perl equals current perl');
+
+done_testing;

0 comments on commit f172d04

Please sign in to comment.