mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-26 02:19:48 -05:00
Apply suggestions from Codacy Static Code Analysis
Former-commit-id: e51dbd1b7f94cc28ab7428da907681d9a0755d08
This commit is contained in:
1 parent
baa89a1619
commit
1b58baee11
3 files changed
+10
-8
No files matched your search
@@ -1,13 +1,18 @@
|
||||
package org.maxgamer.quickshop.util;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
public class MsgUtilTest {
|
||||
|
||||
@Test
|
||||
public void testNullLevelEnchantment() {
|
||||
Integer integer = null;
|
||||
RomanNumber.toRoman(integer);
|
||||
try {
|
||||
Integer integer = null;
|
||||
RomanNumber.toRoman(integer);
|
||||
} catch (Exception e) {
|
||||
Assert.fail("Failed to test null number input");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user