Created
April 19, 2011 19:56
-
-
Save skizzybiz/929452 to your computer and use it in GitHub Desktop.
broken SproutCore unit test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This works: | |
module("MessageTracer.WhitelistEntry"); | |
test("test description", function() { | |
var expected, result; | |
expected = "test"; | |
result = "test"; | |
return equals(result, expected, "test should equal test"); | |
}); | |
// This does not: | |
(function() { | |
module("MessageTracer.WhitelistEntry"); | |
test("test description", function() { | |
var expected, result; | |
expected = "test"; | |
result = "test"; | |
return equals(result, expected, "test should equal test"); | |
}); | |
}).call(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment