Skip to content

Commit

Permalink
Print function result rather than function.toString for test description
Browse files Browse the repository at this point in the history
  • Loading branch information
peitschie committed Sep 23, 2014
1 parent 2185247 commit 294542b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webodf/lib/core/UnitTester.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ core.UnitTester = function UnitTester() {
+ link(testName, "runSuite(\"" + testName + "\");")
+ ": " + test.description() + "</span>");
} else {
runtime.log("Running " + testName + ": " + test.description);
runtime.log("Running " + testName + ": " + test.description());
}
tests = test.tests();
for (i = 0; i < tests.length; i += 1) {
Expand Down

0 comments on commit 294542b

Please sign in to comment.