diff --git a/test/intl402/Intl/8.0.js b/test/intl402/Intl/8.0.js index 20a9142498..34fe92641c 100644 --- a/test/intl402/Intl/8.0.js +++ b/test/intl402/Intl/8.0.js @@ -7,6 +7,4 @@ description: Tests that Intl has Object.prototype as its prototype. author: Norbert Lindenberg ---*/ -if (Object.getPrototypeOf(Intl) !== Object.prototype) { - $ERROR("Intl doesn't have Object.prototype as its prototype."); -} +assert.sameValue(Object.getPrototypeOf(Intl), Object.prototype, "Intl doesn't have Object.prototype as its prototype.");