diff --git a/tests/src/test/java/org/teavm/classlib/java/net/URLEncoderTest.java b/tests/src/test/java/org/teavm/classlib/java/net/URLEncoderTest.java index 7bf0bd11d..a7c5a2079 100644 --- a/tests/src/test/java/org/teavm/classlib/java/net/URLEncoderTest.java +++ b/tests/src/test/java/org/teavm/classlib/java/net/URLEncoderTest.java @@ -51,13 +51,5 @@ public class URLEncoderTest { } catch (UnsupportedEncodingException e) { // expected } - - // Regression for HARMONY-1233 - try { - URLEncoder.encode(null, "harmony"); - fail("NullPointerException expected"); - } catch (NullPointerException e) { - // expected - } } } diff --git a/tests/src/test/java/org/teavm/classlib/java/util/VectorTest.java b/tests/src/test/java/org/teavm/classlib/java/util/VectorTest.java index ae7531498..bd7ba833c 100644 --- a/tests/src/test/java/org/teavm/classlib/java/util/VectorTest.java +++ b/tests/src/test/java/org/teavm/classlib/java/util/VectorTest.java @@ -812,13 +812,6 @@ public class VectorTest { } catch (IndexOutOfBoundsException e) { // Excepted } - - try { - myVector.removeRange(2, 1); - fail("Should throw IndexOutOfBoundsException"); - } catch (IndexOutOfBoundsException e) { - // Excepted - } } @Test