modules lib: type description in type error message

This commit is contained in:
Nikolay Amiantov
2017-02-03 11:28:33 +01:00
committed by Nicolas B. Pierron
parent 025eae1a8c
commit 5b759293e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ checkConfigOutput "true" "$@" ./define-module-check.nix
# Check coerced value.
checkConfigOutput "\"42\"" config.value ./declare-coerced-value.nix
checkConfigOutput "\"24\"" config.value ./declare-coerced-value.nix ./define-value-string.nix
checkConfigError 'The option value .* in .* is not a coercedTo.' config.value ./declare-coerced-value.nix ./define-value-list.nix
checkConfigError 'The option value .* in .* is not a string or integer.' config.value ./declare-coerced-value.nix ./define-value-list.nix
cat <<EOF
====== module tests ======