Sha256: d2501683307d7f199c676503b44a3783730e1fc87c3b1156178ae7935dd227dd

Contents?: true

Size: 390 Bytes

Versions: 295

Compression:

Stored size: 390 Bytes

Contents

-- 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)

Version data entries

295 entries across 295 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.158 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.157 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.156 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.155 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.154 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.153 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.152 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.151 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.150 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.149 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.148 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.147 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.146 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.145 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.144 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.143 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.142 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.141 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.140 tracks/lua/exercises/hello-world/hello-world_spec.lua