()
| 600 | |
| 601 | #[test] |
| 602 | fn test_binary() { |
| 603 | assert_is_formatted(r#"let a = 5 * (4 + 3) ?? 5 / 2 // 2 == 1 and true"#); |
| 604 | |
| 605 | assert_is_formatted(r#"let a = 5 / 2 / 2"#); |
| 606 | assert_is_formatted(r#"let a = 5 / (2 / 2)"#); |
| 607 | |
| 608 | assert_is_formatted(r#"let a = (5 ** 2) ** 2"#); |
| 609 | assert_is_formatted(r#"let a = 5 ** 2 ** 2"#); |
| 610 | } |
| 611 | |
| 612 | #[test] |
| 613 | fn test_func() { |
nothing calls this directly
no test coverage detected