Fix a typo in Object.getOwnPropertyNames test
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
@@ -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);
