()
| 675 | /// Test converting view not found error. |
| 676 | #[test] |
| 677 | fn test_convert_view_not_found() { |
| 678 | let err = RemoteError::view_not_found("missing-stack"); |
| 679 | let cli_err = convert_remote_error(err, "http://example.com"); |
| 680 | |
| 681 | match cli_err { |
| 682 | CliError::RemoteError { message, .. } => { |
| 683 | assert!(message.contains("missing-stack")); |
| 684 | } |
| 685 | _ => panic!("Expected RemoteError"), |
| 686 | } |
| 687 | } |
| 688 | |
| 689 | /// Test converting change not found error. |
| 690 | #[test] |
nothing calls this directly
no test coverage detected