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

Function test_options_paths

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

pathsMethod · 0.45

Tested by

no test coverage detected