summary refs log tree commit diff
path: root/lib/tests/modules.sh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-05-05 18:53:28 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-05-05 18:53:28 +0200
commite7412dde1f0a3d141839f05f5a06a12df84dc2c6 (patch)
treea77803435b56b951ed907ab5baa8fc3576e305ed /lib/tests/modules.sh
parent2f6d1c7722113378b470fc4f9c2fcb38a6c1d155 (diff)
downloadnixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar.gz
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar.bz2
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar.lz
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar.xz
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.tar.zst
nixpkgs-e7412dde1f0a3d141839f05f5a06a12df84dc2c6.zip
Revert "lib/tests: Add type deprecation tests"
This reverts commit 8b957e3b301d748e6fbbed806d82bd9d4b9d4ac4.
Diffstat (limited to 'lib/tests/modules.sh')
-rwxr-xr-xlib/tests/modules.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh
index 4259c538bb4..2e57c2f8e2a 100755
--- a/lib/tests/modules.sh
+++ b/lib/tests/modules.sh
@@ -272,12 +272,6 @@ checkConfigError 'A definition for option .fun.\[function body\]. is not of type
 checkConfigOutput "b a" config.result ./functionTo/list-order.nix
 checkConfigOutput "a c" config.result ./functionTo/merging-attrs.nix
 
-## Type deprecation
-checkConfigError 'The type `types.simple'\'' of option `simple'\'' defined in .* is deprecated. simple shall not be used' config.simple ./type-deprecation.nix
-checkConfigError 'The type `types.infinite'\'' of option `infinite'\'' defined in .* is deprecated. infinite shall not be used' config.infinite ./type-deprecation.nix
-checkConfigError 'The type `types.left'\'' of option `nested'\'' defined in .* is deprecated. left shall not be used' config.nested ./type-deprecation.nix
-checkConfigError 'The type `types.right'\'' of option `nested'\'' defined in .* is deprecated. right shall not be used' config.nested ./type-deprecation.nix
-
 cat <<EOF
 ====== module tests ======
 $pass Pass