projects
/
dbsrgits/DBIx-Class.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
4c9f72c
)
Fix the test to skip if MyFoo won't load.
Michael G Schwern [Wed, 13 Feb 2008 07:11:54 +0000 (23:11 -0800)]
t/cdbi-t/columns_as_hashes.t
patch
|
blob
|
blame
|
history
diff --git
a/t/cdbi-t/columns_as_hashes.t
b/t/cdbi-t/columns_as_hashes.t
index
24dbc2a
..
3eca270
100644
(file)
--- a/
t/cdbi-t/columns_as_hashes.t
+++ b/
t/cdbi-t/columns_as_hashes.t
@@
-91,8
+91,8
@@
warning_is {
# Emulate that Class::DBI inflates immediately
-{
- require_ok 'MyFoo';
+SKIP: {
+ skip "Need MySQL to run this test", 3 unless eval { require MyFoo };
my $foo = MyFoo->insert({
name => 'Whatever',