Skip to content

Commit c89bf6f

Browse files
committed
test: fix tests and clippy checks
1 parent fd0c29f commit c89bf6f

26 files changed

+47
-24
lines changed

crates/vim9-gen/testdata/output/busted_assign.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_defer.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_function.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_heredoc.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_indexing.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_loops.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_megamethods.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_methods.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_methods_1.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

crates/vim9-gen/testdata/output/busted_methods_2.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
-- Ignore "value assigned to a local variable is unused" because
77
-- we can't guarantee that local variables will be used by plugins
88
-- luacheck: ignore 311
9+
--- @diagnostic disable
910

1011
local vim9 = require('_vim9script')
1112
local M = {}

0 commit comments

Comments
 (0)