Skip to content

Commit

Permalink
Rename testUnicode to runUnicodeTests
Browse files Browse the repository at this point in the history
  • Loading branch information
jclark committed Oct 9, 2012
1 parent 02bb2c8 commit 4cf3671
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test.js
Expand Up @@ -71,5 +71,5 @@ function runJSONTests(filename) {

runJSONTests("tests.json");
print("Running exhaustive Unicode tests. This will take a few minutes...")
runTestSuite("unicode", testUnicode);
runTestSuite("unicode", runUnicodeTests);

6 changes: 3 additions & 3 deletions unicode.js
Expand Up @@ -6,7 +6,7 @@
* undefined otherwise.
* @param run {function(!string, !string, string=):undefined}
*/
function testUnicode(run) {
function runUnicodeTests(run) {
"use strict";
var forbiddenRanges = [
[0x0, 0x1F],
Expand Down Expand Up @@ -159,7 +159,7 @@ function testUnicode(run) {
var p;
// If the declaration of testUnicode above didn't set a property on the global object,
// and there is an in-scope exports variable, then add testUnicode exports.
if (this.testUnicode !== testUnicode && typeof(exports) !== "undefined") {
exports.testUnicode = testUnicode;
if (this.runUnicodeTests !== runUnicodeTests && typeof(exports) !== "undefined") {
exports.runUnicodeTests = runUnicodeTests;
}
})();

0 comments on commit 4cf3671

Please sign in to comment.