mirror of
https://github.com/google/nomulus
synced 2026-09-06 16:17:13 +00:00
Rename "absent" to "empty" in test names
This is left over from the transition from Guava to Java 8 Optionals. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=207154260
This commit is contained in:
@@ -64,7 +64,7 @@ public final class RouterTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRoute_pathMismatch_returnsAbsent() {
|
||||
public void testRoute_pathMismatch_returnsEmpty() {
|
||||
assertThat(Router.create(SlothComponent.class).route("/doge")).isEmpty();
|
||||
}
|
||||
|
||||
@@ -92,7 +92,7 @@ public final class RouterTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRoute_prefixDoesNotMatch_returnsAbsent() {
|
||||
public void testRoute_prefixDoesNotMatch_returnsEmpty() {
|
||||
assertThat(Router.create(PrefixComponent.class).route("")).isEmpty();
|
||||
assertThat(Router.create(PrefixComponent.class).route("/")).isEmpty();
|
||||
assertThat(Router.create(PrefixComponent.class).route("/ulysses")).isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user