Rename the jerry_value_has_error_flag function. (#2290)
Rename the function to represent it's real functionality. JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
d672d1e71c
commit
ba2e49caaa
@@ -140,7 +140,7 @@ handle_require (const jerry_value_t js_function,
|
||||
static void
|
||||
assert_number (jerry_value_t js_value, double expected_result)
|
||||
{
|
||||
TEST_ASSERT (!jerry_value_has_error_flag (js_value));
|
||||
TEST_ASSERT (!jerry_value_is_error (js_value));
|
||||
TEST_ASSERT (jerry_get_number_value (js_value) == expected_result);
|
||||
} /* assert_number */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user