]> git.lizzy.rs Git - metalua.git/blobdiff - src/samples/withdo_test.mlua
Merge branch 'master' of ssh://git.eclipse.org/gitroot/koneki/org.eclipse.koneki...
[metalua.git] / src / samples / withdo_test.mlua
diff --git a/src/samples/withdo_test.mlua b/src/samples/withdo_test.mlua
deleted file mode 100644 (file)
index 4e647b1..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
--{ extension 'withdo' }
-
-local original_close = io.close
-
-function x()
-   with f1, f2 = io.open 'withdo_test.mlua', io.open 'trycatch_test.mlua' do
-      local t1 = f1:read '*a'
-      local t2 = f2:read '*a'
-      return #t1, #t2
-   end
-end
-
-print(x())
\ No newline at end of file