()
| 914 | |
| 915 | #[test] |
| 916 | fn resolve_explicit_command() { |
| 917 | let config = MagoConfig { |
| 918 | command: Some("/usr/local/bin/mago".to_string()), |
| 919 | lint_timeout: None, |
| 920 | analyze_timeout: None, |
| 921 | }; |
| 922 | let result = resolve_mago(None, &config, None); |
| 923 | assert!(result.is_some()); |
| 924 | assert_eq!(result.unwrap().path, PathBuf::from("/usr/local/bin/mago")); |
| 925 | } |
| 926 | |
| 927 | #[test] |
| 928 | fn resolve_auto_detect_vendor_bin() { |
nothing calls this directly
no test coverage detected