CodeOwnerResolverTest: Drop msg that is optionally expected but never occurs

The tests uses containsAnyOf to check for 2 possible messages, but the
one message contains a spelling mistake ('cannost' instead of 'cannot',
only in the test), hence we know that this cases never happens and we
can just drop it.

Change-Id: If54a64ad4cde1a9148bf54103733f2db7c884715
Signed-off-by: Edwin Kempin <ekempin@google.com>
diff --git a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerResolverTest.java b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerResolverTest.java
index e64c53e..ec97a36 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerResolverTest.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/backend/CodeOwnerResolverTest.java
@@ -192,13 +192,10 @@
     assertThat(result).isEmpty();
     assertThat(result)
         .hasMessagesThat()
-        .containsAnyOf(
+        .contains(
             String.format(
                 "cannot resolve account %s for email %s: account does not exists",
-                accountId, email),
-            String.format(
-                "cannost resolve code owner email %s: no active account with this email found",
-                email));
+                accountId, email));
   }
 
   @Test