Skip to content

Commit

Permalink
Reformat the code once again
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubfijalkowski committed Dec 7, 2020
1 parent de447ca commit bbecaf3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions boa/src/builtins/array/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,11 @@ fn get_relative_start() {

// This test is relevant only on 32-bit archs (where usize == u32 thus `len` is u32)
assert_eq!(
Array::get_relative_start(&mut context, Some(&Value::from(Number::MAX_SAFE_INTEGER)), 10),
Array::get_relative_start(
&mut context,
Some(&Value::from(Number::MAX_SAFE_INTEGER)),
10
),
Ok(10)
);
}
Expand Down Expand Up @@ -1349,7 +1353,11 @@ fn get_relative_end() {

// This test is relevant only on 32-bit archs (where usize == u32 thus `len` is u32)
assert_eq!(
Array::get_relative_end(&mut context, Some(&Value::from(Number::MAX_SAFE_INTEGER)), 10),
Array::get_relative_end(
&mut context,
Some(&Value::from(Number::MAX_SAFE_INTEGER)),
10
),
Ok(10)
);
}

0 comments on commit bbecaf3

Please sign in to comment.