Skip to content

Commit

Permalink
Remove broken test
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Sicker <boards@gmail.com>
  • Loading branch information
jvz authored and dependabot[bot] committed Feb 10, 2021
1 parent f0e2150 commit 09ebf49
Showing 1 changed file with 1 addition and 6 deletions.
Expand Up @@ -5,8 +5,8 @@
import com.cloudbees.plugins.credentials.matchers.CQLSyntaxException;
import org.junit.Test;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;

public class CredentialsMatchersTest {

Expand Down Expand Up @@ -73,11 +73,6 @@ public void parseInvalidMultiline() throws Exception {
CredentialsMatchers.parse("id == \"id-1\"\n|| \"id-2\"\n&& instanceof Boolean");
}

@Test(expected = CQLSyntaxException.class)
public void parseInvalid3() throws Exception {
CredentialsMatchers.parse("id == 4foo");
}

@Test
public void parseEmpty() throws Exception {
assertThat(CredentialsMatchers.parse(""), is(CredentialsMatchers.always()));
Expand Down

0 comments on commit 09ebf49

Please sign in to comment.