jscript/tests: Fix the spelling of the testEmbeddedFunctions() function name.
This commit is contained in:
parent
fde4e8f92e
commit
22fe702f7a
|
@ -1215,7 +1215,7 @@ ok(tmp === 5, "testFunc4(1) = " + tmp);
|
||||||
tmp = function testFunc4(x) { return x+4; };
|
tmp = function testFunc4(x) { return x+4; };
|
||||||
ok(testFunc4 === 1, "testFunc4 = " + testFunc4);
|
ok(testFunc4 === 1, "testFunc4 = " + testFunc4);
|
||||||
|
|
||||||
function testEmbededFunctions() {
|
function testEmbeddedFunctions() {
|
||||||
ok(typeof(testFunc5) === "function", "typeof(testFunc5) = " + typeof(testFunc5));
|
ok(typeof(testFunc5) === "function", "typeof(testFunc5) = " + typeof(testFunc5));
|
||||||
tmp = testFunc5(1);
|
tmp = testFunc5(1);
|
||||||
ok(tmp === 3, "testFunc5(1) = " + tmp);
|
ok(tmp === 3, "testFunc5(1) = " + tmp);
|
||||||
|
@ -1231,7 +1231,7 @@ function testEmbededFunctions() {
|
||||||
ok(testFunc6 === 1, "testFunc4 = " + testFunc6);
|
ok(testFunc6 === 1, "testFunc4 = " + testFunc6);
|
||||||
}
|
}
|
||||||
|
|
||||||
testEmbededFunctions();
|
testEmbeddedFunctions();
|
||||||
|
|
||||||
date = new Date();
|
date = new Date();
|
||||||
date.toString = function() { return "toString"; }
|
date.toString = function() { return "toString"; }
|
||||||
|
|
Loading…
Reference in New Issue