Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bukama committed Apr 21, 2024
1 parent b2a5e53 commit 00aa7d4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/test/java/org/junitpioneer/jupiter/FailAtExtensionTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,6 @@ void testIsAnnotatedWithDateInThePast() {

}

// How can we test today? This way gives "attribute must be constant compile error"
//
// private static final String DATE_NOW = LocalDate.now().format(DateTimeFormatter.ISO_DATE);
//
// @Test
// @FailAt(reason = "Everything was better yesterday!", date = DATE_NOW)
// void testIsAnnotatedWithDateToday() {
//
// }

@Test
@FailAt(reason = "Keep on running!", date = "2199-01-01")
void testIsAnnotatedWithDateInTheFuture() {
Expand Down

0 comments on commit 00aa7d4

Please sign in to comment.