Replace vera++ with clang-format (#4518)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
@@ -14,14 +14,13 @@
|
||||
*/
|
||||
|
||||
#include "jerryscript.h"
|
||||
|
||||
#include "test-common.h"
|
||||
|
||||
static const char instanceof_source[] = "var x = function(o, c) {return (o instanceof c);}; x";
|
||||
|
||||
static jerry_value_t
|
||||
external_function (const jerry_call_info_t *call_info_p,
|
||||
const jerry_value_t args_p[],
|
||||
const jerry_size_t args_count)
|
||||
external_function (const jerry_call_info_t *call_info_p, const jerry_value_t args_p[], const jerry_size_t args_count)
|
||||
{
|
||||
(void) call_info_p;
|
||||
(void) args_p;
|
||||
@@ -31,14 +30,10 @@ external_function (const jerry_call_info_t *call_info_p,
|
||||
} /* external_function */
|
||||
|
||||
static void
|
||||
test_instanceof (jerry_value_t instanceof,
|
||||
jerry_value_t constructor)
|
||||
test_instanceof (jerry_value_t instanceof, jerry_value_t constructor)
|
||||
{
|
||||
jerry_value_t instance = jerry_construct_object (constructor, NULL, 0);
|
||||
jerry_value_t args[2] =
|
||||
{
|
||||
instance, constructor
|
||||
};
|
||||
jerry_value_t args[2] = { instance, constructor };
|
||||
|
||||
jerry_value_t undefined = jerry_create_undefined ();
|
||||
jerry_value_t result = jerry_call_function (instanceof, undefined, args, 2);
|
||||
|
||||
Reference in New Issue
Block a user