[Pkg-javascript-commits] [backbone] 230/281: fixed typo in test for (presumably) equality

Jonas Smedegaard js at moszumanska.debian.org
Sat May 3 17:02:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag 0.9.0
in repository backbone.

commit c7c7b3c1a144c8b7b747aaa6dca02aaa6f4d0a61
Author: vlad <iamvlad at gmail.com>
Date:   Wed Jan 18 13:49:09 2012 -0800

    fixed typo in test for (presumably) equality
---
 test/model.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/model.js b/test/model.js
index 9ad45d2..c649a64 100644
--- a/test/model.js
+++ b/test/model.js
@@ -342,7 +342,7 @@ $(document).ready(function() {
 
   test("Model: fetch", function() {
     doc.fetch();
-    ok(lastRequest[0], 'read');
+    equal(lastRequest[0], 'read');
     ok(_.isEqual(lastRequest[1], doc));
   });
 

-- 
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