summaryrefslogtreecommitdiffstats
path: root/nixos/tests/agda.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/agda.nix')
-rw-r--r--nixos/tests/agda.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/tests/agda.nix b/nixos/tests/agda.nix
index bbdeb7395aa7..61d99fe50500 100644
--- a/nixos/tests/agda.nix
+++ b/nixos/tests/agda.nix
@@ -23,6 +23,13 @@ in
};
testScript = ''
+ assert (
+ "${pkgs.agdaPackages.lib.interfaceFile "Everything.agda"}" == "Everything.agdai"
+ ), "wrong interface file for Everything.agda"
+ assert (
+ "${pkgs.agdaPackages.lib.interfaceFile "tmp/Everything.agda.md"}" == "tmp/Everything.agdai"
+ ), "wrong interface file for tmp/Everything.agda.md"
+
# Minimal script that typechecks
machine.succeed("touch TestEmpty.agda")
machine.succeed("agda TestEmpty.agda")