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

Function test_get_commit_hash

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

Source from the content-addressed store, hash-verified

203
204 #[test]
205 fn test_get_commit_hash() {
206 let commit_hash = get_commit_hash_default_impl(env!("CARGO_MANIFEST_DIR")).unwrap();
207 // ensure that the commit hash is correct, thus it has 40 characters
208 assert_eq!(commit_hash.len(), 40);
209 }
210
211 #[test]
212 fn test_read_macro_runner_config() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected