-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug fix : duplicate local variable declaration
- Loading branch information
nbauma109
committed
Dec 19, 2022
1 parent
4917c4c
commit 3a7fa90
Showing
3 changed files
with
1,856 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package jd.core.test; | ||
|
||
import org.apache.commons.io.IOUtils; | ||
import org.junit.Test; | ||
|
||
import java.nio.charset.StandardCharsets; | ||
|
||
import static org.junit.Assert.assertEquals; | ||
|
||
/* | ||
* Test for duplicate local variable bug fix. | ||
*/ | ||
public class NumberUtilsTest extends AbstractTestCase { | ||
@Test | ||
public void test() throws Exception { | ||
String output = decompile("org/apache/commons/lang3/math/NumberUtils"); | ||
assertEquals(IOUtils.toString(getClass().getResource("NumberUtils.txt"), StandardCharsets.UTF_8), output); | ||
} | ||
} |
Oops, something went wrong.