Skip to content

Commit 6f1427f

Browse files
committed
nvim: change deprecated ExecuteLua to ExecLua
1 parent a6f4509 commit 6f1427f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nvim/nvim_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ func TestAPI(t *testing.T) {
341341
}
342342
})
343343

344-
t.Run("exeuteLua", func(t *testing.T) {
344+
t.Run("execLua", func(t *testing.T) {
345345
var n int
346-
err := v.ExecuteLua("local a, b = ... return a + b", &n, 1, 2)
346+
err := v.ExecLua("local a, b = ... return a + b", &n, 1, 2)
347347
if err != nil {
348348
t.Fatal(err)
349349
}

0 commit comments

Comments
 (0)