Skip to content

Commit

Permalink
Update tests.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviRain-Su committed Oct 9, 2023
1 parent 3e16c67 commit c0dffc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/evaluator/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -758,9 +758,9 @@ fn test_array_literals() -> anyhow::Result<()> {
eprintln!("array has wrong num of elements. got={}", result.len());
}

test_integer_object(*result[0].clone(), 1)?;
test_integer_object(*result[1].clone(), 4)?;
test_integer_object(*result[2].clone(), 6)?;
test_integer_object(result[0].clone(), 1)?;
test_integer_object(result[1].clone(), 4)?;
test_integer_object(result[2].clone(), 6)?;

Ok(())
}
Expand Down

0 comments on commit c0dffc1

Please sign in to comment.