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

Function test_change_run_short_format

atomic-cli/src/commands/change/tests.rs:652–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

650 #[test]
651 #[serial]
652 fn test_change_run_short_format() {
653 let _guard = TestGuard::new();
654
655 let _repo = Repository::init(".").unwrap();
656
657 let cmd = ChangeCmd::new().with_format(ChangeFormat::Short);
658 let result = cmd.run();
659
660 // Will fail (no changes) but shouldn't panic
661 assert!(result.is_err());
662 }
663
664 #[test]
665 #[serial]

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.45
with_formatMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected