mirror of
https://github.com/KevinMidboe/linguist.git
synced 2026-01-27 11:45:33 +00:00
samples: add Terra samples
source: https://github.com/zdevito/terra/tree/master/tests
This commit is contained in:
13
samples/Terra/quote10.t
Normal file
13
samples/Terra/quote10.t
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
terra foo()
|
||||
return 1,2
|
||||
end
|
||||
|
||||
local q = `foo()
|
||||
|
||||
terra bar()
|
||||
return q
|
||||
end
|
||||
|
||||
local test = require("test")
|
||||
test.meq({1,2},bar())
|
||||
Reference in New Issue
Block a user