Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_empty_source
Function
test_empty_source
atomic-semantic/src/parsers/go.rs:674–678 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
672
673
#[test]
674
fn test_empty_source() {
675
let mut parser = GoParser::new();
676
let entities = parser.extract(
""
,
"empty.go"
);
677
assert!(entities.is_empty());
678
}
679
680
#[test]
681
fn test_package_only() {
Callers
nothing calls this directly
Calls
1
extract
Method · 0.45
Tested by
no test coverage detected