Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan1522 committed Nov 10, 2024
1 parent f4973c5 commit 2ad4945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/SwerveModuleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void testGetOdometryPositions() {
new SwerveModulePosition(1.0, Rotation2d.fromDegrees(90)),
new SwerveModulePosition(2.0, Rotation2d.fromDegrees(180))
};
when(swerveModule.getOdometryPositions()).thenAnswer(t -> mockPositions);
when(swerveModule.getOdometryPositions()).thenAnswer(answer -> mockPositions);

// Verify that the getOdometryPositions method returns the correct positions
SwerveModulePosition[] positions = swerveModule.getOdometryPositions();
Expand Down

0 comments on commit 2ad4945

Please sign in to comment.