Fix a typo in Object.getOwnPropertyNames test (#2612)

With the change the test file truly checks the corresponding part of the standard (ECMAScript v5, 15.2.3.4.1).

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2018-11-22 02:08:06 +01:00
committed by Akos Kiss
parent f9e21540d6
commit 8e28316b1a
+1 -1
View File
@@ -65,7 +65,7 @@ assert (props.length === 2);
// Test non-object argument
try {
Object.getOwnPrototypeNames("hello");
Object.getOwnPropertyNames("hello");
assert (false);
} catch (e) {
assert (e instanceof TypeError);