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