Sha256: 012ae9f1587cbe67ccaf6a6af8b3ecbe41d680b64333eee1b13b50f93f464c07

Contents?: true

Size: 360 Bytes

Versions: 11

Compression:

Stored size: 360 Bytes

Contents

describe["Some Test"] = function()
  it["can test!"] = function()
    expect(1).should_be(1)
    expect(1).should_not_be(2)
    expect("hi mystery person123").should_match("person%d+")
    expect(string.match).should_exist()
    expect(string.crazy).should_not_exist()

    local func = function() empty.nothing() end
    expect(func).should_error()
  end
end

Version data entries

11 entries across 6 versions & 1 rubygems

Version Path
candle-0.0.7 lib/candle/generators/templates/xib/scripts/tests/someTest.lua
candle-0.0.7 lib/candle/generators/templates/blank/scripts/tests/someTest.lua
candle-0.0.7 lib/candle/generators/templates/table/scripts/tests/someTest.lua
candle-0.0.7 lib/candle/generators/templates/map/scripts/tests/someTest.lua
candle-0.0.6 lib/candle/generators/templates/table/scripts/tests/someTest.lua
candle-0.0.6 lib/candle/generators/templates/blank/scripts/tests/someTest.lua
candle-0.0.6 lib/candle/generators/templates/xib/scripts/tests/someTest.lua
candle-0.0.4 lib/candle/generators/lua/scripts/tests/someTest.lua
candle-0.0.3 lib/candle/generators/lua/scripts/tests/someTest.lua
candle-0.0.2 lib/candle/generators/lua/scripts/tests/someTest.lua
candle-0.0.1 lib/candle/generators/lua/scripts/tests/someTest.lua