Skip to content

Commit

Permalink
Update failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
flip1995 committed May 11, 2020
1 parent 505280b commit eec17d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/ui/implicit_saturating_sub.fixed
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ fn main() {
// Lint
u_16 = u_16.saturating_sub(1);

let mut end_32: u32 = 7000;
let mut start_32: u32 = 7010;
let mut end_32: u32 = 7010;
let mut start_32: u32 = 7000;

let mut u_32: u32 = end_32 - start_32;

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/implicit_saturating_sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ fn main() {
u_16 -= 1;
}

let mut end_32: u32 = 7000;
let mut start_32: u32 = 7010;
let mut end_32: u32 = 7010;
let mut start_32: u32 = 7000;

let mut u_32: u32 = end_32 - start_32;

Expand Down

0 comments on commit eec17d2

Please sign in to comment.