[
https://issues.apache.org/jira/browse/BEAM-11572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kyle Weaver updated BEAM-11572:
-------------------------------
Fix Version/s: 2.28.0
Resolution: Fixed
Status: Resolved (was: In Progress)
> Use MatcherAssert#assertThat instead of deprecated Assert#assertThat
> --------------------------------------------------------------------
>
> Key: BEAM-11572
> URL: https://issues.apache.org/jira/browse/BEAM-11572
> Project: Beam
> Issue Type: Improvement
> Components: testing
> Affects Versions: 2.26.0
> Reporter: Anant Damle
> Assignee: Anant Damle
> Priority: P2
> Fix For: 2.28.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Beam tests usesĀ *deprecated*
> [Assert#assertThat|https://junit.org/junit4/javadoc/latest/org/junit/Assert.html#assertThat(T,%20org.hamcrest.Matcher)]
> which needs to be changed to
> [MatcherAssert#assertThat|https://junit.org/junit4/javadoc/latest/org/hamcrest/MatcherAssert.html#assertThat(T,%20org.hamcrest.Matcher)]
> Adding a linter check to prevent future usage would make the implementation
> more robust.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)