Skip to content

Commit

Permalink
nvim: change deprecated ExecuteLua to ExecLua
Browse files Browse the repository at this point in the history
  • Loading branch information
zchee committed Feb 10, 2020
1 parent a6f4509 commit 6f1427f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nvim/nvim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ func TestAPI(t *testing.T) {
}
})

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

0 comments on commit 6f1427f

Please sign in to comment.