summaryrefslogtreecommitdiffstats
path: root/src/bootstrap/setup/tests.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
commitcec1877e180393eba0f6ddb0cf97bf3a791631c7 (patch)
tree47b4dac2a9dd9a40c30c251b4d4a72d7ccf77e9f /src/bootstrap/setup/tests.rs
parentAdding debian version 1.74.1+dfsg1-1. (diff)
downloadrustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.tar.xz
rustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/bootstrap/setup/tests.rs')
-rw-r--r--src/bootstrap/setup/tests.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/bootstrap/setup/tests.rs b/src/bootstrap/setup/tests.rs
deleted file mode 100644
index 0fe6e4a46..000000000
--- a/src/bootstrap/setup/tests.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-use super::{RUST_ANALYZER_SETTINGS, SETTINGS_HASHES};
-use sha2::Digest;
-
-#[test]
-fn check_matching_settings_hash() {
- let mut hasher = sha2::Sha256::new();
- hasher.update(&RUST_ANALYZER_SETTINGS);
- let hash = hex::encode(hasher.finalize().as_slice());
- assert_eq!(
- &hash,
- SETTINGS_HASHES.last().unwrap(),
- "Update `SETTINGS_HASHES` with the new hash of `src/etc/rust_analyzer_settings.json`"
- );
-}