mirror of
https://github.com/google/nomulus.git
synced 2025-07-27 21:16:25 +02: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:
parent
8664101687
commit
a111ff0b0a
3 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue