Skip to content

Commit b287db9

Browse files
committed
通过测试
1 parent ff9103a commit b287db9

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

test/type_formatting/init.lua

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local catch = require 'catch'
66
rawset(_G, 'TEST', true)
77

88
function TEST(script)
9-
return function (expect)
9+
return function(expect)
1010
local newScript, catched = catch(script, '?')
1111
files.setText('', newScript)
1212
local edits = core('', catched['?'][1][1], expect.ch)
@@ -123,5 +123,11 @@ end
123123
]]
124124
{
125125
ch = '\n',
126-
edits = {}
126+
edits = {
127+
{
128+
start = 0,
129+
finish = 10000,
130+
text = 'if true then\n',
131+
}
132+
}
127133
}

0 commit comments

Comments
 (0)