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

Commit 370dbbb6 by Jan Aagaard Meier

fix: Remove test that thinks -.123 is not a valid float (see https://github.com/…

…chriso/validator.js/issues/618)
1 parent 4e8908b2
......@@ -52,7 +52,7 @@
"terraformer-wkt-parser": "^1.1.2",
"toposort-class": "^1.0.1",
"uuid": "^3.0.0",
"validator": "^6.2.0",
"validator": "^6.3.0",
"wkx": "^0.4.1"
},
"devDependencies": {
......
......@@ -755,10 +755,6 @@ suite(Support.getTestDialectTeaser('SQL'), function() {
expect(function () {
type.validate('foobar');
}).to.throw(Sequelize.ValidationError, '"foobar" is not a valid float');
expect(function () {
type.validate('-.123');
}).to.throw(Sequelize.ValidationError, '"-.123" is not a valid float');
});
test('should return `true` if `value` is a float', function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!