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

Function test_comment_only

atomic-semantic/src/parsers/python.rs:644–652  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

642
643 #[test]
644 fn test_comment_only() {
645 let mut parser = PythonParser::new();
646 let source = r#"
647# This is a comment
648# Another comment
649"#;
650 let entities = parser.extract(source, "comments.py");
651 assert!(entities.is_empty());
652 }
653
654 #[test]
655 fn test_line_numbers() {

Callers

nothing calls this directly

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected