print("Hello from ") print(_VERSION) kata = {} function kata.foo() return "expected" end return kata
print("Hello, Lua");- print("Hello from ") print(_VERSION)
- kata = {}
- function kata.foo()
- return "expected"
- end
- return kata
-- TODO: Replace examples and use TDD development by writing your own tests local solution = require 'solution' describe("solution", function() it("test for something", function() assert.are.same("expected", solution.foo()) end) end)
- -- TODO: Replace examples and use TDD development by writing your own tests
- local solution = require 'solution'
- describe("solution", function()
- it("test for something", function()
- assert.are.same("expected", solution.foo())
- end)
- end)