MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / alias_shapes

Function alias_shapes

codegraph-kernel/src/cfnptr.rs:1322–1328  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1320 }
1321
1322 #[test]
1323 fn alias_shapes() {
1324 let f = facts("#define A redisCommand\n#define B struct foo\n#define C 0x12\n#define D(x) x\n");
1325 assert!(f.alias_names.contains(&"A".to_string()));
1326 assert!(f.alias_names.contains(&"B".to_string()));
1327 assert!(!f.alias_names.contains(&"C".to_string()));
1328 assert!(!f.alias_names.contains(&"D".to_string()));
1329 }
1330
1331 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected