]> git.refcnt.org Git - colorize.git/blobdiff - t/merge.t
Move common data to a perl module
[colorize.git] / t / merge.t
index e2f0de6fa22757813c2055985ee673c0c8d62574..848c0223c035ba4d3d0499f3dae3eaba5e8fc15f 100755 (executable)
--- a/t/merge.t
+++ b/t/merge.t
@@ -2,9 +2,11 @@
 
 use strict;
 use warnings;
+use lib qw(lib);
 use constant true  => 1;
 use constant false => 0;
 
+use Colorize::Common ':defaults';
 use File::Temp qw(tmpnam);
 use Test::More;
 
@@ -94,8 +96,6 @@ $tests += @merge_fail;
 $tests += @buffer;
 $tests += @pushback;
 
-my $source = 'colorize.c';
-my $compiler = 'gcc';
 my %programs;
 
 my $compile = sub