()
| 605 | #[test] |
| 606 | #[serial] |
| 607 | fn test_change_run_json_format() { |
| 608 | let _guard = TestGuard::new(); |
| 609 | |
| 610 | let _repo = Repository::init(".").unwrap(); |
| 611 | |
| 612 | let cmd = ChangeCmd::new().with_format(ChangeFormat::Json); |
| 613 | let result = cmd.run(); |
| 614 | |
| 615 | // Will fail (no changes) but shouldn't panic |
| 616 | assert!(result.is_err()); |
| 617 | } |
| 618 | |
| 619 | #[test] |
| 620 | #[serial] |
nothing calls this directly
no test coverage detected