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

Function test_preview_args_minimal

atomic-cli/src/commands/insert.rs:990–1000  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

988
989 #[test]
990 fn test_preview_args_minimal() {
991 let args = PreviewArgs {
992 from_view: "feature".to_string(),
993 to_view: None,
994 up_to_tag: None,
995 };
996
997 assert_eq!(args.from_view, "feature");
998 assert!(args.to_view.is_none());
999 assert!(args.up_to_tag.is_none());
1000 }
1001
1002 #[test]
1003 fn test_preview_args_with_tag() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected