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

Function test_options_paths

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

pathsMethod · 0.45

Tested by

no test coverage detected