Skip to content

Commit 7b52fe8

Browse files
committed
#15
1 parent b64e44b commit 7b52fe8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/array/three_sum.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,8 @@ mod tests {
6565

6666
#[test]
6767
fn a_0() {
68-
assert_eq!(
69-
solution_a(vec![-1, 0, 1, 2, -1, -4]),
70-
vec![vec![-1, -1, 2], vec![-1, 0, 1]]
71-
);
68+
let right = vec![vec![-1, -1, 2], vec![-1, 0, 1]];
69+
assert_eq!(solution_a(vec![-1, 0, 1, 2, -1, -4]), right);
7270
}
7371

7472
#[test]

0 commit comments

Comments
 (0)