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

Function alias_shapes

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

Source from the content-addressed store, hash-verified

1310 }
1311
1312 #[test]
1313 fn alias_shapes() {
1314 let f = facts("#define A redisCommand\n#define B struct foo\n#define C 0x12\n#define D(x) x\n");
1315 assert!(f.alias_names.contains(&"A".to_string()));
1316 assert!(f.alias_names.contains(&"B".to_string()));
1317 assert!(!f.alias_names.contains(&"C".to_string()));
1318 assert!(!f.alias_names.contains(&"D".to_string()));
1319 }
1320
1321 #[test]

Callers

nothing calls this directly

Calls 1

factsFunction · 0.85

Tested by

no test coverage detected