File tree Expand file tree Collapse file tree 2 files changed +19
-21
lines changed
Expand file tree Collapse file tree 2 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -79,24 +79,21 @@ local function main()
7979
8080 log .print = true
8181
82- for _ , os in ipairs {' Windows' , ' Linux' , ' macOS' } do
83- require ' bee.platform' .OS = os
84- --- @async
85- lclient ():start (function (client )
86- client :registerFakers ()
87- client :initialize ()
88-
89- ws .awaitReady ()
90-
91- print (' Loaded files in' , os )
92- for uri in files .eachFile () do
93- print (uri )
94- end
95- print (' ===============' )
96-
97- testAll ()
98- end )
99- end
82+ --- @async
83+ lclient ():start (function (client )
84+ client :registerFakers ()
85+ client :initialize ()
86+
87+ ws .awaitReady ()
88+
89+ print (' Loaded files in' , os )
90+ for uri in files .eachFile () do
91+ print (uri )
92+ end
93+ print (' ===============' )
94+
95+ testAll ()
96+ end )
10097
10198 test ' tclient'
10299 test ' full'
Original file line number Diff line number Diff line change @@ -688,8 +688,8 @@ TEST {
688688 }
689689}
690690
691- local originOS = platform . OS
692- platform .OS = ' Linux'
691+
692+ if platform .OS == ' Linux' then
693693
694694TEST {
695695 {
@@ -742,7 +742,8 @@ TEST {
742742 ]]
743743 }
744744}
745- platform .OS = originOS
745+
746+ end
746747
747748local originRuntimePath = config .get (nil , ' Lua.runtime.path' )
748749config .set (nil , ' Lua.runtime.path' , {
You can’t perform that action at this time.
0 commit comments