Skip to content
Snippets Groups Projects
Commit f424e2ec authored by Magali Ruffier's avatar Magali Ruffier
Browse files

some odd behaviour with wildcards and SQLite

parent 0799daba
No related branches found
No related tags found
6 merge requests!319Feature/null ox analysis,!317Xref parser mgiparser_ccds,!342Feature/schema update 96,!342Feature/schema update 96,!319Feature/null ox analysis,!317Xref parser mgiparser_ccds
......@@ -589,10 +589,13 @@ ok(scalar(@genes) == 4);
debug("Wildcard test:" . $genes[0]->stable_id);
ok($genes[0]->stable_id() eq 'ENSG00000101367');
@genes = @{$ga->fetch_all_by_external_name('M_%')};
debug("Wildcard test:" . $genes[0]->stable_id());
debug(scalar @genes . " genes found");
ok(scalar @genes == 2);
SKIP: {
skip 'Wildcard behaviour different for SQLite', 1 if $db->dbc->driver() eq 'SQLite';
@genes = @{$ga->fetch_all_by_external_name('M_%')};
debug("Wildcard test:" . $genes[0]->stable_id());
debug(scalar @genes . " genes found");
ok(scalar @genes == 2);
}
# Test performance protection (very vague queries return no hits)
debug("Testing vague query protection");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment