mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Remove trailing whitespace from all files (#497)
This commit is contained in:
parent
d3f3cb7ab4
commit
7e2eae5c15
356 changed files with 41701 additions and 41680 deletions
12
third_party/lua/test/coroutine.lua
vendored
12
third_party/lua/test/coroutine.lua
vendored
|
@ -467,7 +467,7 @@ else
|
|||
print "testing yields inside hooks"
|
||||
|
||||
local turn
|
||||
|
||||
|
||||
function fact (t, x)
|
||||
assert(turn == t)
|
||||
if x == 0 then return 1
|
||||
|
@ -591,7 +591,7 @@ else
|
|||
|
||||
|
||||
print "testing coroutine API"
|
||||
|
||||
|
||||
-- reusing a thread
|
||||
assert(T.testC([[
|
||||
newthread # create thread
|
||||
|
@ -870,7 +870,7 @@ do -- a few more tests for comparison operators
|
|||
until res ~= 10
|
||||
return res
|
||||
end
|
||||
|
||||
|
||||
local function test ()
|
||||
local a1 = setmetatable({x=1}, mt1)
|
||||
local a2 = setmetatable({x=2}, mt2)
|
||||
|
@ -882,7 +882,7 @@ do -- a few more tests for comparison operators
|
|||
assert(2 >= a2)
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
run(test)
|
||||
|
||||
end
|
||||
|
@ -1042,11 +1042,11 @@ co = coroutine.wrap(function (...) return
|
|||
cannot be here!
|
||||
]],
|
||||
[[ # 1st continuation
|
||||
yieldk 0 3
|
||||
yieldk 0 3
|
||||
cannot be here!
|
||||
]],
|
||||
[[ # 2nd continuation
|
||||
yieldk 0 4
|
||||
yieldk 0 4
|
||||
cannot be here!
|
||||
]],
|
||||
[[ # 3th continuation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue