tix/test/describe.test.nix

23 lines
415 B
Nix
Raw Normal View History

2024-01-02 13:15:50 +00:00
{
describe,
it,
...
2024-01-03 10:14:28 +00:00
}: [
(describe "the describe function" [
(it "returns an array with the message changed" {
expected = {
2024-01-03 19:18:54 +00:00
name = "the describe function";
value = {
"works" = {success = true;};
};
2024-01-03 10:14:28 +00:00
};
actual = describe "the describe function" [
{
2024-01-03 19:18:54 +00:00
value = {success = true;};
name = "works";
2024-01-03 10:14:28 +00:00
}
];
})
])
2024-01-02 13:15:50 +00:00
]