]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed use of equals() in unit test [#352 state: peer-review-requested]
authorAnna Sobiepanek <annaopensource@gmail.com>
Fri, 25 Feb 2011 18:11:04 +0000 (13:11 -0500)
committerAnna Sobiepanek <annaopensource@gmail.com>
Fri, 25 Feb 2011 18:11:04 +0000 (13:11 -0500)
plugins/mustache/popcorn.mustache.unit.js

index d262081416cd833c645f551ffde69a66fc72369e..6750c5c2a1c77647d10f5d10760d59197b91c483 100644 (file)
@@ -62,7 +62,7 @@ test('Popcorn Mustache Plugin', function () {
   video.addEventListener('timeupdate', function() {
 
     function pass(a, b) {
-      equals( '<h1>mustache - test ' + a + '/' + b + '<\/h1>', mustacheDiv.innerHTML, 'Mustache template rendered' );
+      equals( mustacheDiv.innerHTML, '<h1>mustache - test ' + a + '/' + b + '<\/h1>','Mustache template rendered' );
       plus();
     }