about summary refs log tree commit diff
path: root/src/bootstrap/setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/bootstrap/setup')
-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 0fe6e4a4644..00000000000
--- 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`"
-    );
-}