Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_options_prefix
Function
test_options_prefix
atomic-core/src/record/workflow/detect/tests.rs:34–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
#[test]
34
fn test_options_prefix() {
35
let opts = DetectionOptions::new().prefix(
"src/"
);
36
assert_eq!(opts.get_prefix(), Some(
"src/"
));
37
}
38
39
#[test]
40
fn test_options_prefix_empty() {
Callers
nothing calls this directly
Calls
1
prefix
Method · 0.45
Tested by
no test coverage detected