X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F14roundtrippin.t;fp=t%2F14roundtrippin.t;h=4d32207f514564a5eaddbacdc3bbd38b576495a1;hb=2fadf08e171ee68c239cec896075428ae21f2232;hp=7e0fda99c0262d29aacd68cd3a1f23d5a6b377cd;hpb=81b3e5853d6a59c8bf28ff03c96985f74f8c6781;p=dbsrgits%2FSQL-Abstract.git diff --git a/t/14roundtrippin.t b/t/14roundtrippin.t index 7e0fda9..4d32207 100644 --- a/t/14roundtrippin.t +++ b/t/14roundtrippin.t @@ -4,11 +4,7 @@ use strict; use Test::More; use Test::Exception; -use Data::Dumper; -$Data::Dumper::Terse = 1; -$Data::Dumper::Sortkeys = 1; - -use SQL::Abstract::Test import => ['is_same_sql']; +use SQL::Abstract::Test import => [qw(is_same_sql dumper)]; use SQL::Abstract::Tree; my $sqlat = SQL::Abstract::Tree->new; @@ -65,7 +61,7 @@ for my $orig (@sql) { lc($orig), sprintf( 'roundtrip works (%s...)', substr $orig, 0, 20 ) ) or do { - my ($ast1, $ast2) = map { Dumper $sqlat->parse($_) } ( $orig, $reassembled ); + my ($ast1, $ast2) = map { dumper( $sqlat->parse($_) ) } ( $orig, $reassembled ); note "ast1: $ast1"; note "ast2: $ast2";