Skip to content

Commit 46e6afc

Browse files
Merge pull request #364 from matthiasbeyer/release-0.13.x-backport-362
0.13.x: Backport #362
2 parents 588a461 + 475f689 commit 46e6afc

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

.github/workflows/msrv.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,14 @@ jobs:
114114
needs: [check]
115115
name: Clippy
116116
runs-on: ubuntu-latest
117-
strategy:
118-
matrix:
119-
rust:
120-
- stable
121-
- beta
122-
- nightly
123117
steps:
124118
- name: Checkout sources
125119
uses: actions/checkout@v3
126120

127121
- name: Install toolchain
128122
uses: actions-rs/toolchain@v1
129123
with:
130-
toolchain: ${{ matrix.rust }}
131-
minimal: true
124+
toolchain: 1.56.1
132125
override: true
133126
components: clippy
134127

tests/env.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ fn test_parse_float() {
191191

192192
// can't use `matches!` because of float value
193193
match config {
194-
TestFloatEnum::Float(TestFloat { float_val }) => assert_eq!(float_val, 42.3),
194+
TestFloatEnum::Float(TestFloat { float_val }) => {
195+
assert!(float_cmp::approx_eq!(f64, float_val, 42.3))
196+
}
195197
}
196198
})
197199
}

0 commit comments

Comments
 (0)