Skip to content

Commit

Permalink
refactor: remove unnecessary operations
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharmath committed Dec 2, 2024
1 parent 871a964 commit c6e85fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/valid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ mod tests {
#[test]
fn test_trace() {
let result = Valid::<(), i32, String>::fail(1)
.trace("A".to_string())
.trace("B".to_string())
.trace("C".to_string());
.trace("A")
.trace("B")
.trace("C");

let expected = Valid::from(vec![Cause {
error: 1,
Expand Down

0 comments on commit c6e85fb

Please sign in to comment.