| 1 |
local tested = require("tested") |
27✔ |
| 2 |
|
|
| 3 |
tested.test("just works!", function() |
54✔ |
| 4 |
tested.assert({ |
49✔ |
| 5 |
given="nothing", |
22✔ |
| 6 |
should="just work!", |
22✔ |
| 7 |
expected=true, |
22✔ |
|
UNCOV
8
|
actual=true |
22✔ |
| 9 |
})
|
|
| 10 |
end)
|
|
| 11 |
|
|
| 12 |
tested.test("just works without given and should!", function() |
54✔ |
| 13 |
tested.assert({ |
49✔ |
| 14 |
expected=true, |
22✔ |
|
UNCOV
15
|
actual=true |
22✔ |
| 16 |
})
|
|
| 17 |
end)
|
|
| 18 |
|
|
| 19 |
return tested
|
27✔ |