From 21ddd794b6381a0500bdd331ac798e86222c945c Mon Sep 17 00:00:00 2001 From: Michael L Heuer Date: Sun, 12 Dec 2021 18:56:57 -0600 Subject: [PATCH] Update guava dependency version to 31.0.1-jre. --- sequencing/pom.xml | 2 +- .../biojava/bio/program/fastq/IlluminaFastqReaderTest.java | 4 ++-- .../org/biojava/bio/program/fastq/SangerFastqReaderTest.java | 4 ++-- .../org/biojava/bio/program/fastq/SolexaFastqReaderTest.java | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sequencing/pom.xml b/sequencing/pom.xml index 6f132a0..5db3c50 100644 --- a/sequencing/pom.xml +++ b/sequencing/pom.xml @@ -16,7 +16,7 @@ com.google.guava guava - 30.1.1-jre + 31.0.1-jre diff --git a/sequencing/src/test/java/org/biojava/bio/program/fastq/IlluminaFastqReaderTest.java b/sequencing/src/test/java/org/biojava/bio/program/fastq/IlluminaFastqReaderTest.java index b2c5830..61f159c 100755 --- a/sequencing/src/test/java/org/biojava/bio/program/fastq/IlluminaFastqReaderTest.java +++ b/sequencing/src/test/java/org/biojava/bio/program/fastq/IlluminaFastqReaderTest.java @@ -67,7 +67,7 @@ public void testValidateDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("description must begin with a '@' character")); + assertTrue(e.getCause().getMessage().contains("description must begin with a '@' character")); } } @@ -82,7 +82,7 @@ public void testValidateRepeatDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("repeat description must match description")); + assertTrue(e.getCause().getMessage().contains("repeat description must match description")); } } diff --git a/sequencing/src/test/java/org/biojava/bio/program/fastq/SangerFastqReaderTest.java b/sequencing/src/test/java/org/biojava/bio/program/fastq/SangerFastqReaderTest.java index 5a0d690..4bc68be 100755 --- a/sequencing/src/test/java/org/biojava/bio/program/fastq/SangerFastqReaderTest.java +++ b/sequencing/src/test/java/org/biojava/bio/program/fastq/SangerFastqReaderTest.java @@ -67,7 +67,7 @@ public void testValidateDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("description must begin with a '@' character")); + assertTrue(e.getCause().getMessage().contains("description must begin with a '@' character")); } } @@ -82,7 +82,7 @@ public void testValidateRepeatDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("repeat description must match description")); + assertTrue(e.getCause().getMessage().contains("repeat description must match description")); } } diff --git a/sequencing/src/test/java/org/biojava/bio/program/fastq/SolexaFastqReaderTest.java b/sequencing/src/test/java/org/biojava/bio/program/fastq/SolexaFastqReaderTest.java index 208e7ba..bc3360b 100755 --- a/sequencing/src/test/java/org/biojava/bio/program/fastq/SolexaFastqReaderTest.java +++ b/sequencing/src/test/java/org/biojava/bio/program/fastq/SolexaFastqReaderTest.java @@ -67,7 +67,7 @@ public void testValidateDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("description must begin with a '@' character")); + assertTrue(e.getCause().getMessage().contains("description must begin with a '@' character")); } } @@ -82,7 +82,7 @@ public void testValidateRepeatDescription() throws Exception } catch (IOException e) { - assertTrue(e.getMessage().contains("repeat description must match description")); + assertTrue(e.getCause().getMessage().contains("repeat description must match description")); } }