MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_package_only

Function test_package_only

atomic-semantic/src/parsers/go.rs:681–687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

679
680 #[test]
681 fn test_package_only() {
682 let mut parser = GoParser::new();
683 let source = "package main\n";
684 let entities = parser.extract(source, "main.go");
685 // Should not crash, may or may not produce entities
686 let _ = entities;
687 }
688
689 #[test]
690 fn test_line_numbers() {

Callers

nothing calls this directly

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected