tests/config/tapered/test/setup-teardown-test.lua
raw| 1 | package.path = '../src/?.lua;' .. package.path |
| 2 | local tap = require 'tapered' |
| 3 | |
| 4 | -- luacheck: globals setup teardown |
| 5 | function setup() |
| 6 | print("# I'm a little teapot.") |
| 7 | end |
| 8 | |
| 9 | function teardown() |
| 10 | print("# Here is my handle, and here is my spout.") |
| 11 | end |
| 12 | |
| 13 | tap.ok(true, "Short and stout.") |
| 14 | tap.done() |