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.1.0.41 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.40 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.39 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.38 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.37 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.36 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.34 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.33 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.32 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.31 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.30 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.29 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.28 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.27 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.26 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.25 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.24 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.23 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.22 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.1.0.21 tracks/lua/exercises/hello-world/hello-world_spec.lua