diff options
author | Jacob Abel <jacobabel@nullpo.dev> | 2022-07-09 20:12:31 -0400 |
---|---|---|
committer | Jacob Abel <jacobabel@nullpo.dev> | 2022-10-23 17:50:24 -0400 |
commit | ed71173841618bd4c69f40d07fb467ccabc5db0b (patch) | |
tree | 4532a1f7bc9459c07badc3e91e80bf5260d8832f /lib/tests/modules.sh | |
parent | 88b18dcf445a1be963a6bd2f9e8c075edd668f71 (diff) |
lib/strings: Update docs and restructured code to improve readability of toInt and toIntBase10.
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-x | lib/tests/modules.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh index 92c28369ed5cd..c9ea674ee104a 100755 --- a/lib/tests/modules.sh +++ b/lib/tests/modules.sh @@ -162,7 +162,7 @@ checkConfigError 'A definition for option .* is not.*string or signed integer co # Check coerced value with unsound coercion checkConfigOutput '^12$' config.value ./declare-coerced-value-unsound.nix checkConfigError 'A definition for option .* is not of type .*. Definition values:\n\s*- In .*: "1000"' config.value ./declare-coerced-value-unsound.nix ./define-value-string-bigint.nix -checkConfigError 'Could not convert .* to int' config.value ./declare-coerced-value-unsound.nix ./define-value-string-arbitrary.nix +checkConfigError 'toInt: Could not convert .* to int' config.value ./declare-coerced-value-unsound.nix ./define-value-string-arbitrary.nix # Check mkAliasOptionModule. checkConfigOutput '^true$' config.enable ./alias-with-priority.nix |