summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch')
-rw-r--r--dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch b/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch
deleted file mode 100644
index f2742f658fa2..000000000000
--- a/dev-java/snakeyaml/files/snakeyaml-1.30-fix-test-check.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/test/java/org/yaml/snakeyaml/issues/issue377/BillionLaughsAttackTest.java
-+++ b/src/test/java/org/yaml/snakeyaml/issues/issue377/BillionLaughsAttackTest.java
-@@ -69,7 +69,7 @@ public class BillionLaughsAttackTest {
- map.toString();
- fail("Expected overflow");
- } catch (Throwable e) {
-- assertTrue(e.getMessage().contains("heap"));
-+ assertTrue("Catched exception " + e + " is not an instance of OutOfMemoryError", e instanceof OutOfMemoryError);
- }
- }
-
-@@ -94,4 +94,4 @@ public class BillionLaughsAttackTest {
- assertNotNull(map);
- }
-
--}
-\ No newline at end of file
-+}