Skip to content

Commit

Permalink
embed: Quick fix to embed test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakearchibald committed Sep 25, 2009
1 parent 42ab7a4 commit 57e8afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/glow/embed/embed.js
Expand Up @@ -213,7 +213,7 @@ t.test("check correct defaults for missing parameters", function() {
//not using getAttribute for the first two as some browsers give empty strings while others give null
t.ok(embed.id != "","Movie has auto-generated ID");

var hasName = embed.name != "" || embed.name != undefined;
var hasName = embed.name != "" && embed.name != undefined;

t.ok( !hasName, "no name by default" );
if (glow.env.ie) {
Expand Down

0 comments on commit 57e8afd

Please sign in to comment.