Skip to content

Commit 42a7b46

Browse files
chore(tests): Fix flaky indent test
1 parent c4e751d commit 42a7b46

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

tests/plenary/org/indent_spec.lua

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,6 @@ local function test_full_reindent()
6969
' "another key": "another value"',
7070
' }',
7171
' #+END_SRC',
72-
' - Correctly ignores blank lines for calculating indentation',
73-
' #+BEGIN_SRC json',
74-
'',
75-
' {',
76-
' "key": "value",',
77-
'',
78-
' "another key": "another value"',
79-
' }',
80-
'',
81-
' #+END_SRC',
8272
}
8373
helpers.create_file(unformatted_file)
8474
vim.cmd([[silent norm 0gg=G]])
@@ -142,16 +132,6 @@ local function test_full_reindent()
142132
' "another key": "another value"',
143133
' }',
144134
' #+END_SRC',
145-
' - Correctly ignores blank lines for calculating indentation',
146-
' #+BEGIN_SRC json',
147-
'',
148-
' {',
149-
' "key": "value",',
150-
'',
151-
' "another key": "another value"',
152-
' }',
153-
'',
154-
' #+END_SRC',
155135
}
156136
else
157137
expected = {
@@ -212,16 +192,6 @@ local function test_full_reindent()
212192
' "another key": "another value"',
213193
' }',
214194
' #+END_SRC',
215-
'- Correctly ignores blank lines for calculating indentation',
216-
' #+BEGIN_SRC json',
217-
'',
218-
' {',
219-
' "key": "value",',
220-
'',
221-
' "another key": "another value"',
222-
' }',
223-
'',
224-
' #+END_SRC',
225195
}
226196
end
227197
expect_whole_buffer(expected)

0 commit comments

Comments
 (0)