不要怂,就是干,撸起袖子干!

Commit 5867c29e by Sascha Depold

fixed spec

1 parent 020b4dbc
Showing with 1 additions and 1 deletions
...@@ -2534,7 +2534,7 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () { ...@@ -2534,7 +2534,7 @@ describe(Support.getTestDialectTeaser("DAOFactory"), function () {
} }
}).error(function(err) { }).error(function(err) {
if (dialect === 'mysql') { if (dialect === 'mysql') {
expect(err.message).to.match(/ER_CANNOT_ADD_FOREIGN/) expect(err.message).to.match(/ER_CANNOT_ADD_FOREIGN|ER_CANT_CREATE_TABLE/)
} }
else if (dialect === 'sqlite') { else if (dialect === 'sqlite') {
// the parser should not end up here ... see above // the parser should not end up here ... see above
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!