Skip to content

Commit

Permalink
Fix DateTest failing occasionally (#7632)
Browse files Browse the repository at this point in the history
* init commit

* fix reviews

---------
  • Loading branch information
Efnilite authored Feb 28, 2025
1 parent f0ff9d2 commit 913a7d8
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@
import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

public class DateTest {

@Test
public void testNow() {
assertEquals(System.currentTimeMillis(), Date.now().getTime());
}

@Test
public void testFromJavaDate() {
java.util.Date javaDate = new java.util.Date();
Expand Down

0 comments on commit 913a7d8

Please sign in to comment.