Apply suggestions from Codacy Static Code Analysis

Former-commit-id: e51dbd1b7f94cc28ab7428da907681d9a0755d08
This commit is contained in:
sandtechnology committed 2020-11-29 21:57:08 +08:00
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");
}
}
}