()
| 636 | #[test] |
| 637 | #[serial] |
| 638 | fn test_change_run_json_format() { |
| 639 | let _guard = TestGuard::new(); |
| 640 | |
| 641 | let _repo = Repository::init(".").unwrap(); |
| 642 | |
| 643 | let cmd = ChangeCmd::new().with_format(ChangeFormat::Json); |
| 644 | let result = cmd.run(); |
| 645 | |
| 646 | // Will fail (no changes) but shouldn't panic |
| 647 | assert!(result.is_err()); |
| 648 | } |
| 649 | |
| 650 | #[test] |
| 651 | #[serial] |
nothing calls this directly
no test coverage detected