aboutsummaryrefslogtreecommitdiff
path: root/tests/s.lua
diff options
context:
space:
mode:
authorame <[email protected]>2024-01-29 09:54:16 -0600
committerame <[email protected]>2024-01-29 09:54:16 -0600
commit79a85fd80a6e1af15e7d9b5ee96d3d77645993b3 (patch)
tree17bf2d289774788cfafc4504930737a3e9885101 /tests/s.lua
parenta53d2ae92f02ea3efc01c5b76ce8471de3d4e879 (diff)
test
Diffstat (limited to 'tests/s.lua')
-rw-r--r--tests/s.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/s.lua b/tests/s.lua
index 51c0b6a..5adc783 100644
--- a/tests/s.lua
+++ b/tests/s.lua
@@ -1,15 +1,15 @@
-require "llib"
-function sleep (a)
- local sec = tonumber(os.clock() + a);
- while (os.clock() < sec) do
- end
-end
-
-for i=1,500 do
- llib.net.spawn(function()
- --sleep(1)
- print("hi")
- end)
-end
-
+require "llib"
+function sleep (a)
+ local sec = tonumber(os.clock() + a);
+ while (os.clock() < sec) do
+ end
+end
+
+for i=1,500 do
+ llib.net.spawn(function()
+ --sleep(1)
+ print("hi")
+ end)
+end
+
while true do end \ No newline at end of file