exercism.org/lua/hello-world/hello-world_spec.lua
2024-03-24 18:37:22 +01:00

12 lines
390 B
Lua

-- Require the hello-world module
local hello_world = require('hello-world')
-- Define a module named hello-world. This module should return a single
-- function named hello that takes no arguments and returns a string.
describe('hello-world', function()
it('says hello world', function()
local result = hello_world.hello()
assert.are.equal('Hello, World!', result)
end)
end)