nixos/tests/ihatemoney.nix: run nixpkgs-fmt

now indentation is perfect
This commit is contained in:
Symphorien Gibol 2020-01-05 12:00:00 +00:00
parent b8b9e7be6d
commit 665fee312a
1 changed files with 18 additions and 15 deletions

View File

@ -1,11 +1,13 @@
{ system ? builtins.currentSystem,
config ? {},
pkgs ? import ../.. { inherit system config; }
{ system ? builtins.currentSystem
, config ? {}
, pkgs ? import ../.. { inherit system config; }
}:
let
inherit (import ../lib/testing.nix { inherit system pkgs; }) makeTest;
in map (backend: makeTest {
in
map (
backend: makeTest {
name = "ihatemoney-${backend}";
machine = { lib, ... }: {
services.ihatemoney = {
@ -46,4 +48,5 @@ in map (backend: makeTest {
die unless $timestamp eq $timestamp2;
$machine->succeed("curl http://localhost:8000 | grep ihatemoney");
'';
}) [ "sqlite" "postgresql" ]
}
) [ "sqlite" "postgresql" ]