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

Function test_options_paths

atomic-repository/src/record/tests.rs:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40#[test]
41fn test_options_paths() {
42 let opts = RecordOptions::new().paths(vec!["src/main.rs", "src/lib.rs"]);
43 assert_eq!(opts.get_paths().len(), 2);
44 assert_eq!(opts.get_paths()[0], "src/main.rs");
45}
46
47#[test]
48fn test_options_add_path() {

Callers

nothing calls this directly

Calls 1

pathsMethod · 0.45

Tested by

no test coverage detected