[Pkg-javascript-commits] [backbone] 25/173: Make implicit ; s in tests explicit
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 07:43:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository backbone.
commit 9fb2f197640784826ca58279726ca0b9d8c78864
Author: Jordan Eldredge <jordaneldredge at gmail.com>
Date: Mon Oct 5 17:06:47 2015 -0700
Make implicit ;s in tests explicit
---
test/model.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/model.js b/test/model.js
index 459eee6..f43d896 100644
--- a/test/model.js
+++ b/test/model.js
@@ -243,7 +243,7 @@
assert.strictEqual(model.matches(function(attr) {
return attr.a > 1 && attr.b != null;
}), true);
- })
+ });
QUnit.test("set and unset", function(assert) {
assert.expect(8);
@@ -965,7 +965,7 @@
QUnit.test("save without `wait` doesn't set invalid attributes", function(assert) {
var model = new Backbone.Model();
- model.validate = function () { return 1; }
+ model.validate = function () { return 1; };
model.save({a: 1});
assert.equal(model.get('a'), void 0);
});
@@ -974,7 +974,7 @@
var model = new Backbone.Model();
var times = 0;
model.sync = function () {};
- model.validate = function () { ++times; }
+ model.validate = function () { ++times; };
model.save({});
assert.equal(times, 1);
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list