about summary refs log tree commit diff
path: root/tests/testing_test.nix
blob: b977fc0bdfc56e2c2da7540f9a6e10841b09327e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let
  lib = import ./lib.nix;
in [
  {
    name = "Test function concatenate";
    actual = lib.concatenate "a" "b";
    expected = "ab";
  }
  {
    name = "Test function add";
    actual = lib.add 1 2;
    expected = 3;
  }
]