Fix shapelessUnknownCalleeHelper.

This commit is contained in:
Brendan Eich 2008-08-12 16:36:32 -07:00
parent 0ceb399b55
commit a4111eea56

View File

@ -609,7 +609,7 @@ function shapelessCalleeTest()
helper = {hack: 42};
shapelessUnknownCalleeLoop(null, helper, helper, helper, a);
} catch (e) {
if (e + "" != "TypeError: g is not a function")
if (e + "" != "TypeError: f is not a function")
print("shapelessUnknownCalleeLoop: unexpected exception " + e);
}
return a.join("");