mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[build] Apply spotless for java formatting (#1768)
Update checkstyle config to be compatible with spotless. Co-authored-by: Austin Shalit <austinshalit@gmail.com>
This commit is contained in:
@@ -4,14 +4,11 @@
|
||||
|
||||
package edu.wpi.first.wpilibj;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import edu.wpi.first.wpilibj.test.AbstractComsSetup;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import edu.wpi.first.wpilibj.test.AbstractComsSetup;
|
||||
import java.util.logging.Logger;
|
||||
import org.junit.Test;
|
||||
|
||||
public class TimerTest extends AbstractComsSetup {
|
||||
private static final Logger logger = Logger.getLogger(TimerTest.class.getName());
|
||||
@@ -35,8 +32,10 @@ public class TimerTest extends AbstractComsSetup {
|
||||
|
||||
// Then
|
||||
long offset = difference - TIMER_RUNTIME;
|
||||
assertEquals("Timer.delay ran " + offset + " microseconds too long", TIMER_RUNTIME, difference,
|
||||
assertEquals(
|
||||
"Timer.delay ran " + offset + " microseconds too long",
|
||||
TIMER_RUNTIME,
|
||||
difference,
|
||||
TIMER_TOLERANCE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user