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

Function test_diff_with_view

atomic-cli/src/commands/diff/tests.rs:957–960  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

955
956 #[test]
957 fn test_diff_with_view() {
958 let diff = Diff::new().with_view("feature");
959 assert_eq!(diff.view, Some("feature".to_string()));
960 }
961
962 #[test]
963 fn test_diff_builder_chain() {

Callers

nothing calls this directly

Calls 1

with_viewMethod · 0.45

Tested by

no test coverage detected