Skip to content

Commit ef7cebd

Browse files
committed
Add test case for floats without trailing dots
1 parent 5703cc3 commit ef7cebd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn float_range_no_trailing_dot_compacts() {
2+
let _range = 3.0 / 2.0..4.0;
3+
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
fn float_range() {
1+
fn float_range_trailing_dot() {
22
let _range = 3. / 2. ..4.;
33
}

0 commit comments

Comments
 (0)