()
| 656 | |
| 657 | #[test] |
| 658 | fn strategy_both_disabled() { |
| 659 | let config = FormattingConfig { |
| 660 | pint: Some(String::new()), |
| 661 | php_cs_fixer: Some(String::new()), |
| 662 | phpcbf: Some(String::new()), |
| 663 | timeout: None, |
| 664 | }; |
| 665 | let strategy = resolve_strategy(None, &config, None, None); |
| 666 | assert!(matches!(strategy, FormattingStrategy::Disabled)); |
| 667 | } |
| 668 | |
| 669 | #[test] |
| 670 | fn strategy_explicit_commands() { |
nothing calls this directly
no test coverage detected