summaryrefslogtreecommitdiffstats
path: root/nixos/tests/ammonite.nix
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2019-10-27 13:56:33 +0100
committerJacek Galowicz <jacek.galowicz@cyberus-technology.de>2019-11-04 23:51:10 +0100
commit986a1eb32b9e9f8c099de6153e13492be96820f4 (patch)
treef7f5b826d6c7be4fe08507cfb923377e87d1d7d6 /nixos/tests/ammonite.nix
parente5ee59626309a3af57fe1befbff75081f942f5e3 (diff)
nixos/ammonite: Port test to python
Diffstat (limited to 'nixos/tests/ammonite.nix')
-rw-r--r--nixos/tests/ammonite.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/ammonite.nix b/nixos/tests/ammonite.nix
index fedfde233e8d..1955e42be5f0 100644
--- a/nixos/tests/ammonite.nix
+++ b/nixos/tests/ammonite.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
name = "ammonite";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ nequissimus ];
@@ -13,8 +13,8 @@ import ./make-test.nix ({ pkgs, ...} : {
};
testScript = ''
- startAll;
+ start_all()
- $amm->succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
+ amm.succeed("amm -c 'val foo = 21; println(foo * 2)' | grep 42")
'';
})