From 27dcfa51e17e3bef14355236333a63e23d24cb5d Mon Sep 17 00:00:00 2001 From: Peter Gal Date: Thu, 17 May 2018 12:05:33 +0200 Subject: [PATCH] Build fix after landing #2249 The old `jerry_value_has_error_flag` function was used when the #2249 PR was merged. Replaced with the correct `jerry_value_is_error` call. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com --- tests/unit-core/test-typedarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit-core/test-typedarray.c b/tests/unit-core/test-typedarray.c index 53585c0f4..d8ae4fba6 100644 --- a/tests/unit-core/test-typedarray.c +++ b/tests/unit-core/test-typedarray.c @@ -408,7 +408,7 @@ static void test_property_by_index (test_entry_t test_entries[]) } jerry_value_t set_undefined = jerry_set_property_by_index (typedarray, 100, jerry_create_number (50)); - TEST_ASSERT (jerry_value_has_error_flag (set_undefined)); + TEST_ASSERT (jerry_value_is_error (set_undefined)); jerry_value_t get_undefined = jerry_get_property_by_index (typedarray, 100); TEST_ASSERT (jerry_value_is_undefined (get_undefined));