projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fail early if full test is run in a stale checkout
[dbsrgits/DBIx-Class.git]
/
t
/
02_standalone_test_classes.t
diff --git
a/t/02_standalone_test_classes.t
b/t/02_standalone_test_classes.t
index
55df0df
..
48c70ac
100644
(file)
--- a/
t/02_standalone_test_classes.t
+++ b/
t/02_standalone_test_classes.t
@@
-21,7
+21,7
@@
find({
}
local $SIG{__WARN__} = sub { warn @_ unless $_[0] =~ /\bdeprecated\b/i };
- require( ($_ =~ /(.+)/)[0] ); # untaint
+ require( ( $_ =~ m| t/lib/ (.+) |x )[0] ); # untaint and strip lib-part (. is unavailable under -T)
exit 0;
}