You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/08/01 04:32:00 UTC
[jira] [Updated] (ORC-891) Use assert methods without package name
`Assert`
[ https://issues.apache.org/jira/browse/ORC-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated ORC-891:
------------------------------
Affects Version/s: 1.7.0
> Use assert methods without package name `Assert`
> ------------------------------------------------
>
> Key: ORC-891
> URL: https://issues.apache.org/jira/browse/ORC-891
> Project: ORC
> Issue Type: Test
> Components: Java
> Affects Versions: 1.7.0, 1.8.0
> Reporter: Dongjoon Hyun
> Priority: Minor
>
> As a part of migration to JUnit5, this JIRA proposes the following in the test cases.
> {code}
> -import org.junit.Assert;
> import org.junit.Before;
> import org.junit.Test;
>
> @@ -194,12 +193,12 @@ public class TestFileDump {
> if (actualLine != null) {
> actualLine = actualLine.trim();
> }
> - Assert.assertEquals(expectedLine, actualLine);
> + assertEquals(expectedLine, actualLine);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)