Bring out the big-paranoia-harness - make describe_env infallible
[dbsrgits/DBIx-Class.git] / t / sqlmaker / order_by_bindtransport.t
index d2a4e83..08afe42 100644 (file)
@@ -1,16 +1,15 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 
 use Test::More;
 use Test::Exception;
-use Data::Dumper::Concise;
-use lib qw(t/lib);
-use DBICTest;
-use DBIC::SqlMakerTest;
 
-sub test_order {
+use DBIx::Class::_Util 'dump_value';
+use DBICTest ':DiffSQL';
 
-  TODO: {
+sub test_order {
     my $rs = shift;
     my $args = shift;
 
@@ -44,9 +43,8 @@ sub test_order {
               ? map { [ { dbic_colname => $_->[0] } => $_->[1] ] } @{ $args->{bind} }
               : ()
         ],
-      ) || diag Dumper $args->{order_by};
+      ) || diag dump_value $args->{order_by};
     };
-  }
 }
 
 my @tests = (