diff options
Diffstat (limited to 'guava-tests/test/com/google/common/primitives/CharsTest.java')
-rw-r--r-- | guava-tests/test/com/google/common/primitives/CharsTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/guava-tests/test/com/google/common/primitives/CharsTest.java b/guava-tests/test/com/google/common/primitives/CharsTest.java index e6d7439..adc1898 100644 --- a/guava-tests/test/com/google/common/primitives/CharsTest.java +++ b/guava-tests/test/com/google/common/primitives/CharsTest.java @@ -390,7 +390,9 @@ public class CharsTest extends TestCase { } @GwtIncompatible("NullPointerTester") - public void testNulls() { - new NullPointerTester().testAllPublicStaticMethods(Chars.class); + public void testNulls() throws Exception { + NullPointerTester tester = new NullPointerTester(); + tester.setDefault(char[].class, new char[0]); + tester.testAllPublicStaticMethods(Chars.class); } } |