Skip to content
Permalink
Browse files

[JENKINS-42505] Use typed matcher.

  • Loading branch information...
varyvol committed Mar 9, 2017
1 parent d5effee commit a04d4f93794b04f692c297dff2271e8ab9c695db
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/java/org/jenkinsci/plugins/configfiles/ConfigFileStoreTest.java
@@ -50,7 +50,7 @@ public void testSaveGlobalConfigFiles() {
// Remove config. Check the correct one is removed
store.remove(savedConfig.id);
Assert.assertEquals(1, store.getConfigs().size());
Assert.assertThat(store.getById(anotherConfig.id), Matchers.is((Config) anotherConfig));
Assert.assertThat(store.getById(anotherConfig.id), Matchers.<Config>is(anotherConfig));
Assert.assertNull(store.getById(savedConfig.id));

store.remove(anotherConfig.id);

0 comments on commit a04d4f9

Please sign in to comment.
You can’t perform that action at this time.