summaryrefslogtreecommitdiffstats
path: root/tests/config/tapered/test/setup-teardown-test.lua
blob: 974a4aa91aab9792b15fd5fc7e08e1f327b1dfd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package.path = '../src/?.lua;' .. package.path
local tap = require 'tapered'

-- luacheck: globals setup teardown
function setup()
  print("# I'm a little teapot.")
end

function teardown()
  print("# Here is my handle, and here is my spout.")
end

tap.ok(true, "Short and stout.")
tap.done()