()
| 688 | |
| 689 | #[test] |
| 690 | fn test_var_def() { |
| 691 | assert_is_formatted( |
| 692 | r#" |
| 693 | let a |
| 694 | "#, |
| 695 | ); |
| 696 | |
| 697 | assert_is_formatted( |
| 698 | r#" |
| 699 | let a <int> |
| 700 | "#, |
| 701 | ); |
| 702 | |
| 703 | assert_is_formatted( |
| 704 | r#" |
| 705 | let a = 5 |
| 706 | "#, |
| 707 | ); |
| 708 | |
| 709 | assert_is_formatted( |
| 710 | r#" |
| 711 | 5 |
| 712 | into a |
| 713 | "#, |
| 714 | ); |
| 715 | } |
| 716 | |
| 717 | #[test] |
| 718 | fn test_query_def() { |
nothing calls this directly
no test coverage detected