Skip to content

Commit 91dfdd1

Browse files
committed
chore: remove unnecesary stylua ignore comment from test
1 parent f82c51a commit 91dfdd1

File tree

77 files changed

+25
-77
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+25
-77
lines changed

lua/refactoring/tests/debug/cleanup/lua/cleanup.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function main()
43
local i = 0

lua/refactoring/tests/debug/cleanup/lua/cleanup.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function main()
43
-- __AUTO_GENERATED_PRINTF_START__
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! fe"

lua/refactoring/tests/debug/print_var/lua/dot-index-expression-table/print_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
test_other = 11,

lua/refactoring/tests/debug/print_var/lua/dot-index-expression-table/print_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
test_other = 11,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! f_"

lua/refactoring/tests/debug/print_var/lua/dot-index-expression/print_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
test_other = 11,

lua/refactoring/tests/debug/print_var/lua/dot-index-expression/print_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
test_other = 11,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:7
1+
:6
22
:execute "norm! f_"

lua/refactoring/tests/debug/print_var/lua/method-index-expression/print_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
value = 11,

lua/refactoring/tests/debug/print_var/lua/method-index-expression/print_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function simple_function()
32
local test = {
43
value = 11,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:4
1+
:3

lua/refactoring/tests/debug/printf/lua/count/printf.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function poggers()
32
-- __AUTO_GENERATED_PRINTF_START__
43
print([==[poggers 1]==]) -- __AUTO_GENERATED_PRINTF_END__

lua/refactoring/tests/debug/printf/lua/count/printf.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function poggers()
32
-- __AUTO_GENERATED_PRINTF_START__
43
print([==[poggers 1]==]) -- __AUTO_GENERATED_PRINTF_END__
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:3
1+
:2

lua/refactoring/tests/debug/printf/lua/multiple-statements/printf.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local hello = function()
32
print("test")
43
-- __AUTO_GENERATED_PRINTF_START__
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local hello = function()
32
print("test")
43
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:3
1+
:2

lua/refactoring/tests/debug/printf/lua/simple/printf.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function poggers()
32
print("this function is quite simple indeed")
43
-- __AUTO_GENERATED_PRINTF_START__
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function poggers()
32
print("this function is quite simple indeed")
43
end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:7
1+
:6
22
:execute "norm! V3j"

lua/refactoring/tests/refactor/106/lua/assign-func/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local test = {}
43

lua/refactoring/tests/refactor/106/lua/assign-func/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local test = {}
43

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:normal! _

lua/refactoring/tests/refactor/106/lua/extract-block/extract_block.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a)
43
local test = 1

lua/refactoring/tests/refactor/106/lua/extract-block/extract_block.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! V"

lua/refactoring/tests/refactor/106/lua/for-clause/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, x, y)
43
print(a, x, y)

lua/refactoring/tests/refactor/106/lua/for-clause/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test = {1, 2}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! Vjj"

lua/refactoring/tests/refactor/106/lua/multiple-extract/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test, test_other)
43
for idx = test - 1, test_other do

lua/refactoring/tests/refactor/106/lua/multiple-extract/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:5
1+
:4
22
:execute "norm! Vjjj"

lua/refactoring/tests/refactor/106/lua/return/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test)
43
local test_other = 11

lua/refactoring/tests/refactor/106/lua/return/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! Vjj"

lua/refactoring/tests/refactor/106/lua/simple-function/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test, test_other)
43
for idx = test - 1, test_other do

lua/refactoring/tests/refactor/106/lua/simple-function/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test = 1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:6
1+
:5
22
:execute "norm! Vjj"

lua/refactoring/tests/refactor/106/lua/var-no-assignment/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test, test_other)
43
for idx = 0, test_other do

lua/refactoring/tests/refactor/106/lua/var-no-assignment/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
function simple_function(a)
43
local test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:9
1+
:8
22
:execute "norm! Vjj"

lua/refactoring/tests/refactor/106/lua/with-comments/extract.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test, test_other)
43
for idx = test - 1, test_other do

lua/refactoring/tests/refactor/106/lua/with-comments/extract.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
-- This is a comment
43
-- comments are fun
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:3
1+
:2
22
:execute "norm! ww"

lua/refactoring/tests/refactor/115/lua/example/inline_func.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32

43

lua/refactoring/tests/refactor/115/lua/example/inline_func.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function foo_bar(a, test)
43
local test_other = 11
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:9
1+
:8
22
:execute "norm! fov$h"

lua/refactoring/tests/refactor/119/lua/custom_extract_var_statement/extract_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order, a, b)
43
local temp = a * b

lua/refactoring/tests/refactor/119/lua/custom_extract_var_statement/extract_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order, a, b)
43
local temp = a * b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:9
1+
:8
22
:execute "norm! fov$h"

lua/refactoring/tests/refactor/119/lua/example/extract_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order, a, b)
43
local temp = a * b

lua/refactoring/tests/refactor/119/lua/example/extract_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order, a, b)
43
local temp = a * b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:3
1+
:2
22
:execute "norm! vib"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local greeting = "hello world"
43
print(greeting)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
-- stylua: ignore start
21

32
print("hello world")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:3
1+
:2
22
:execute "norm! vib"

lua/refactoring/tests/refactor/119/lua/one_character/extract_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local foo = "a"
43
print(foo)
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
print("a")
43
print("b")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:4
1+
:3
22
:execute 'norm! f"vf"'

lua/refactoring/tests/refactor/119/lua/simple_string/extract_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(person, start, _end)
43
local space = " [space] "

lua/refactoring/tests/refactor/119/lua/simple_string/extract_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(person, start, _end)
43
local greeting = start .. " [space] " .. _end
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:5
1+
:4
22
:execute 'norm! va"'

lua/refactoring/tests/refactor/119/lua/top_occurrence_on_different_scope/extract_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function foo()
32
local foo = "foo"
43
print(foo)

lua/refactoring/tests/refactor/119/lua/top_occurrence_on_different_scope/extract_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21
local function foo()
32
print("foo")
43
if true then
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:4
1+
:3
22
:execute "norm! 2wve"

lua/refactoring/tests/refactor/123/lua/example/inline_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43

lua/refactoring/tests/refactor/123/lua/example/inline_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43
local basePrice = order.quantity * order.itemPrice
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:4
1+
:3
22
:execute "norm! V"

lua/refactoring/tests/refactor/123/lua/multiple-vars/inline_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43
local i = 3

lua/refactoring/tests/refactor/123/lua/multiple-vars/inline_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43
local basePrice, i = order.quantity * order.itemPrice, 3
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:3
1+
:2
22
:execute "norm! w"
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32

43
require'foo'.bar.baz()
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local foo = require'foo'
43
foo.bar.baz()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:execute "norm! 3jV"
1+
:execute "norm! 2jV"

lua/refactoring/tests/refactor/123/lua/single-character/inline_var.expected.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43

lua/refactoring/tests/refactor/123/lua/single-character/inline_var.start.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
-- stylua: ignore start
21

32
local function orderCalculation(order)
43
local i = order.quantity * order.itemPrice

0 commit comments

Comments
 (0)