[
https://issues.apache.org/jira/browse/BEAM-11572?focusedWorklogId=531680&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-531680
]
ASF GitHub Bot logged work on BEAM-11572:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Jan/21 04:38
Start Date: 06/Jan/21 04:38
Worklog Time Spent: 10m
Work Description: ibzib commented on a change in pull request #13673:
URL: https://github.com/apache/beam/pull/13673#discussion_r552364605
##########
File path:
sdks/java/io/xml/src/test/java/org/apache/beam/sdk/io/xml/XmlIOTest.java
##########
@@ -19,6 +19,7 @@
import static
org.apache.beam.sdk.transforms.display.DisplayDataMatchers.hasDisplayItem;
import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matcherorg.hamcrest.MatcherAssert.assertThat;
Review comment:
There's a typo here.
----------------------------------------------------------------
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: 531680)
Time Spent: 20m (was: 10m)
> 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: 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)]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)