MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_get_commit_hash

Function test_get_commit_hash

src/run_environment/provider.rs:175–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173
174 #[test]
175 fn test_get_commit_hash() {
176 let commit_hash = get_commit_hash_default_impl(env!("CARGO_MANIFEST_DIR")).unwrap();
177 // ensure that the commit hash is correct, thus it has 40 characters
178 assert_eq!(commit_hash.len(), 40);
179 }
180}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected