tix/mytest.nix

20 lines
280 B
Nix
Raw Normal View History

2024-01-02 13:55:51 +00:00
{
describe,
it,
...
}:
describe "what I'm testing" [
2024-01-02 11:13:47 +00:00
(it "can add numbers" {
actual = 2 + 2;
expected = 4;
})
(it "loves big brother" {
actual = 2 + 2;
expected = 5;
})
2024-01-02 13:55:51 +00:00
(it "throws a party" {
actual = throw "a party";
2024-01-02 11:13:47 +00:00
throws = true;
})
]