Merge jerry_get_value_without_error and jerry_value_clear_error_flag functions (#2350)
JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
This commit is contained in:
committed by
Zoltan Herczeg
parent
4779451284
commit
ac9fce1d8d
@@ -175,7 +175,7 @@ main (void)
|
||||
|
||||
TEST_ASSERT (jerry_value_is_error (error));
|
||||
|
||||
jerry_value_clear_error_flag (&error);
|
||||
error = jerry_get_value_from_error (error, true);
|
||||
|
||||
TEST_ASSERT (jerry_value_is_object (error));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user