Remove full stop after error messages (#4524)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2021-01-28 12:10:13 +01:00
committed by GitHub
parent e081cbc2f0
commit ba06d492a3
82 changed files with 551 additions and 523 deletions
@@ -106,7 +106,7 @@ opfunc_instanceof (ecma_value_t left_value, /**< left value */
{
if (!ecma_is_value_object (right_value))
{
return ecma_raise_type_error (ECMA_ERR_MSG ("Expected an object in 'instanceof' check."));
return ecma_raise_type_error (ECMA_ERR_MSG ("Right value of 'instanceof' must be an object"));
}
#if ENABLED (JERRY_ESNEXT)
@@ -155,7 +155,7 @@ opfunc_in (ecma_value_t left_value, /**< left value */
{
if (!ecma_is_value_object (right_value))
{
return ecma_raise_type_error (ECMA_ERR_MSG ("Expected an object in 'in' check."));
return ecma_raise_type_error (ECMA_ERR_MSG ("Right value of 'in' must be an object"));
}
ecma_string_t *property_name_p = ecma_op_to_property_key (left_value);