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.78 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.77 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.76 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.75 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.74 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.73 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.72 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.71 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.70 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.69 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.68 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.67 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.66 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.65 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.64 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.63 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.62 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.61 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.60 tracks/lua/exercises/hello-world/hello-world_spec.lua
trackler-2.2.1.59 tracks/lua/exercises/hello-world/hello-world_spec.lua