Skip to content

Commit

Permalink
(yegor256#1396) Update forbidden-apis.txt & remove puzzle
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoss committed Jun 22, 2020
1 parent 2eeefd1 commit 4471d77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions src/test/java/org/cactoos/scalar/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@
/**
* Scalars, tests.
*
* @todo #1391:30min Continue replacing usage of MatcherAssert.assertThat with
* Assertion from cactoos-matchers in this package as well as in other packages.
* Once there is no more usage of MatcherAssert.assertThat, add the signature
* of MatcherAssert.assertThat to forbidden-apis.txt
* @since 0.12
*/
package org.cactoos.scalar;
7 changes: 1 addition & 6 deletions src/test/resources/forbidden-apis.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
@defaultMessage Do not use static methods
org.hamcrest.Matchers

@defaultMessage Please specify failure reason
org.hamcrest.MatcherAssert#assertThat(java.lang.Object, org.hamcrest.Matcher)

@defaultMessage Please specify failure reason
org.junit.Assert#assertThat(java.lang.Object, org.hamcrest.Matcher)
org.hamcrest.MatcherAssert

0 comments on commit 4471d77

Please sign in to comment.