Changeset 567
- Timestamp:
- 04/24/09 22:03:37 (7 months ago)
- Files:
-
- 1 modified
-
trunk/t/02-basic.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/t/02-basic.t
r537 r567 243 243 } 244 244 # note sqlite is stupid and doesn't return the number of affected rows 245 is (Wine->remove({}, { nofetch => 1 }), '0E0', 'removing all bad wine'); 245 # quick hack because I can't rely on version.pm to be installed everywhere 246 my ($sqlite_version) = $DBD::SQLite::VERSION =~ /(\d+(?:\.\d+))/; 247 my $count = $sqlite_version > 1.22 ? scalar @bad_wines : 0E0; 248 is (Wine->remove({}, { nofetch => 1 }), $count, 'removing all bad wine'); 246 249 } 247 250
