exercism.org/lua/hello-world/hello-world_spec.lua

13 lines
390 B
Lua
Raw Normal View History

2024-03-24 18:34:11 +01:00
-- 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)