Browse Source

Start experimental collection of tests;

When a bug is found, it's nice to stash away some code that produces
the bug, to ensure it doesn't happen again.
bjorn 3 years ago
parent
commit
0e0f2d2176
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/thread-object-arguments/main.lua

+ 5 - 0
tests/thread-object-arguments/main.lua

@@ -0,0 +1,5 @@
+function lovr.load()
+  lovr.thread.newThread([[
+    print(...)
+  ]]):start(lovr.data.newBlob(1))
+end