Skip to content

Commit 985ac0f

Browse files
committed
remove foo test
1 parent 5a4ba98 commit 985ac0f

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/test/java/org/openrewrite/java/migrate/joda/JodaTimeVisitorTest.java

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -934,31 +934,4 @@ public void foo() {
934934
)
935935
);
936936
}
937-
938-
@Test
939-
void foo() {
940-
// language=java
941-
rewriteRun(
942-
java(
943-
"""
944-
import org.joda.time.Duration;
945-
946-
class A {
947-
public void foo() {
948-
System.out.println(new Duration(1000L).getStandardDays());
949-
}
950-
}
951-
""",
952-
"""
953-
import java.time.Duration;
954-
955-
class A {
956-
public void foo() {
957-
System.out.println(Duration.ofMillis(1000L).toDays());
958-
}
959-
}
960-
"""
961-
)
962-
);
963-
}
964937
}

0 commit comments

Comments
 (0)