mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 12:14:32 +02:00
modules/test: fix expectations lib.toJSON
-> builtins.toJSON
This commit is contained in:
parent
5b068e7f8f
commit
7854d5f18c
1 changed files with 2 additions and 2 deletions
|
@ -225,12 +225,12 @@ in
|
|||
};
|
||||
any = {
|
||||
predicate = v: builtins.any (lib.hasInfix v);
|
||||
message = v: "Expected ${lib.toJSON v} infix to be present.";
|
||||
message = v: "Expected ${builtins.toJSON v} infix to be present.";
|
||||
valueType = lib.types.str;
|
||||
};
|
||||
anyExact = {
|
||||
predicate = builtins.elem;
|
||||
message = v: "Expected ${lib.toJSON v} to be present.";
|
||||
message = v: "Expected ${builtins.toJSON v} to be present.";
|
||||
valueType = lib.types.str;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue