Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ test_options_add_path
Function
test_options_add_path
atomic-repository/src/record/tests.rs:49–54 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
48
#[test]
49
fn test_options_add_path() {
50
let opts = RecordOptions::new()
51
.add_path(
"src/main.rs"
)
52
.add_path(
"src/lib.rs"
);
53
assert_eq!(opts.get_paths().len(), 2);
54
}
55
56
#[test]
57
fn test_options_all() {
Callers
nothing calls this directly
Calls
1
add_path
Method · 0.45
Tested by
no test coverage detected