projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
ff65e4c
)
Use goto to preserve correct error-at-line reporting
Peter Rabbitson [Mon, 3 Aug 2009 15:24:41 +0000 (15:24 +0000)]
t/lib/DBIC/SqlMakerTest.pm
patch
|
blob
|
blame
|
history
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;