projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use goto to preserve correct error-at-line reporting
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBIC
/
SqlMakerTest.pm
diff --git
a/t/lib/DBIC/SqlMakerTest.pm
b/t/lib/DBIC/SqlMakerTest.pm
index
1098e25
..
44ccb4b
100644
(file)
--- a/
t/lib/DBIC/SqlMakerTest.pm
+++ b/
t/lib/DBIC/SqlMakerTest.pm
@@
-41,7
+41,8
@@
sub is_same_sql_bind {
croak "Unexpected argument(s) supplied to is_same_sql_bind: " . join ('; ', @_)
if @_;
- SQL::Abstract::Test::is_same_sql_bind (@args);
+ @_ = @args;
+ goto &SQL::Abstract::Test::is_same_sql_bind;
}
*is_same_sql = \&SQL::Abstract::Test::is_same_sql;