diff --git a/tests/cilib_test.nix b/tests/cilib_test.nix index 4fc9933..6de4ed6 100644 --- a/tests/cilib_test.nix +++ b/tests/cilib_test.nix @@ -57,10 +57,10 @@ { name = "jobPatched nix disabled"; expected = { - cache = [{ + cache = { name = "some"; paths = [ "this" ]; - }]; + }; variables = { BASH = toString pkgs.bash; TEST = "work"; @@ -70,10 +70,10 @@ key = "test"; pipelineName = "test"; job = { - cache = [{ + cache = { name = "some"; paths = [ "this" ]; - }]; + }; variables = { BASH = toString pkgs.bash; TEST = "work"; @@ -100,10 +100,10 @@ key = "test"; pipelineName = "test"; job = { - cache = [{ + cache = { name = "some"; paths = [ "this" ]; - }]; + }; variables = { BASH = toString pkgs.bash; TEST = "work"; @@ -137,10 +137,10 @@ key = "test"; pipelineName = "test"; job = { - cache = [{ + cache = { name = "some"; paths = [ "this" ]; - }]; + }; variables = { BASH = toString pkgs.bash; TEST = "work"; @@ -206,10 +206,10 @@ before_script = [ "./init" ]; script = [ "echo Hello World!" ]; after_script = [ "./clean" ]; - cache = [{ + cache = { key = "simple"; paths = [ "~/random/" ]; - }]; + }; variables = { SAMPLE = "working"; HELLO = toString pkgs.hello; @@ -230,10 +230,10 @@ before_script = [ "./init" ]; script = [ "echo Hello World!" ]; after_script = [ "./clean" ]; - cache = [{ + cache = { key = "simple"; paths = [ "~/random/" ]; - }]; + }; variables = { SAMPLE = "working"; HELLO = toString pkgs.hello; @@ -287,10 +287,10 @@ before_script = [ "./init" ]; script = [ "echo Hello World!" ]; after_script = [ "./clean" ]; - cache = [{ + cache = { key = "simple"; paths = [ "~/random/" ]; - }]; + }; variables = { SAMPLE = "working"; HELLO = toString pkgs.hello;