Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 21, 2023
1 parent a02466b commit 8a8d582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/jslib.c
Expand Up @@ -72,9 +72,7 @@ EM_JS_VAL(JsVal, JsvArray_Delete, (JsVal arr, int idx), {
return arr.splice(idx, 1)[0];
});

EM_JS(int, JsvArray_Push, (JsVal arr, JsVal obj), {
return arr.push(obj);
});
EM_JS(int, JsvArray_Push, (JsVal arr, JsVal obj), { return arr.push(obj); });

// clang-format off
EM_JS(void, JsvArray_Extend, (JsVal arr, JsVal vals), {
Expand Down
1 change: 1 addition & 0 deletions src/tests/test_jsproxy.py
Expand Up @@ -271,6 +271,7 @@ def test_jsproxy_call1(selenium):
== list(range(10))
)


@run_in_pyodide
def test_jsproxy_call2(selenium):
from pyodide.code import run_js
Expand Down

0 comments on commit 8a8d582

Please sign in to comment.