Skip to content

Commit

Permalink
[JENKINS-42505] Use typed matcher.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evaristo Gutiérrez committed Mar 9, 2017
1 parent d5effee commit a04d4f9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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);
Expand Down

0 comments on commit a04d4f9

Please sign in to comment.