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:621–631  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

619 #[test]
620 #[serial]
621 fn test_change_run_short_format() {
622 let _guard = TestGuard::new();
623
624 let _repo = Repository::init(".").unwrap();
625
626 let cmd = ChangeCmd::new().with_format(ChangeFormat::Short);
627 let result = cmd.run();
628
629 // Will fail (no changes) but shouldn't panic
630 assert!(result.is_err());
631 }
632
633 #[test]
634 #[serial]

Callers

nothing calls this directly

Calls 3

unwrapMethod · 0.45
with_formatMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected