[
https://issues.apache.org/jira/browse/BEAM-11572?focusedWorklogId=531682&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-531682
]
ASF GitHub Bot logged work on BEAM-11572:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jan/21 04:40
Start Date: 06/Jan/21 04:40
Worklog Time Spent: 10m
Work Description: ibzib commented on pull request #13673:
URL: https://github.com/apache/beam/pull/13673#issuecomment-755073583
@anantdamle Do you think we could add this to our linters to prevent future
usage of the deprecated class?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 531682)
Time Spent: 0.5h (was: 20m)
> 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
> Time Spent: 0.5h
> 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)]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)