Skip to content

Commit e21f13b

Browse files
committed
modules/test: fix expectations lib.toJSON -> builtins.toJSON
1 parent baaf43d commit e21f13b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/top-level/test.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,12 @@ in
241241
};
242242
any = {
243243
predicate = v: builtins.any (lib.hasInfix v);
244-
message = v: "Expected ${lib.toJSON v} infix to be present.";
244+
message = v: "Expected ${builtins.toJSON v} infix to be present.";
245245
valueType = lib.types.str;
246246
};
247247
anyExact = {
248248
predicate = builtins.elem;
249-
message = v: "Expected ${lib.toJSON v} to be present.";
249+
message = v: "Expected ${builtins.toJSON v} to be present.";
250250
valueType = lib.types.str;
251251
};
252252
};

0 commit comments

Comments
 (0)