Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
macladson committed May 30, 2024
1 parent d428db6 commit 6141333
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tree_hash/tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,7 @@ fn shape_1() {
radius: None,
};

let square = Square {
side: 16,
color: 2,
};
let square = Square { side: 16, color: 2 };

assert_eq!(shape_2.tree_hash_root(), square.tree_hash_root());
}
Expand All @@ -186,7 +183,6 @@ fn shape_2() {
color: 1,
radius: 42,
};

assert_eq!(shape_2.tree_hash_root(), circle.tree_hash_root());
}

0 comments on commit 6141333

Please sign in to comment.