This file contains hidden or 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
// From 1.1.03 packages/tinytest/tinytest.js | |
test._stringEqual(actual, expected, message) // Source comment: EXPERIMENTAL nicer (multiline) string display in runner | |
test.equal(actual, expected, message, not) // Source comment: "XXX eliminate 'message' and 'not' arguments" | |
/* Call this to fail the test with an exception. Use this to record exceptions | |
* that occur inside asynchronous callbacks in tests. It should only be used | |
* with asynchronous tests, and if you call this function, you should make | |
* sure that | |
* (1) the test doesn't call its callback (onComplete function); | |
* (2) the test function doesn't directly raise an exception. | |
*/ |