Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Finish biojava-genome JUnit 5 migration and drop junit-addons
Replace leftover JUnit 4 APIs so genome tests compile without junit-addons.
  • Loading branch information
Sergey Pyatykh
Sergey Pyatykh committed Aug 28, 2026
commit 0e18f042dad3228eda941499e395ecfc670bf233
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@
*/
package org.biojava.nbio.genome.io.fastq;

import org.junit.Assert;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

import org.junit.function.ThrowingRunnable;

/**
* Unit test for FastqBuilder.
*/
Expand Down Expand Up @@ -62,12 +59,7 @@ void testConstructorFastq()
@Test
void testConstructorNullFastq()
{
Assert.assertThrows(IllegalArgumentException.class, new ThrowingRunnable() {
@Override
public void run() {
new FastqBuilder(null);
}
});
Assertions.assertThrows(IllegalArgumentException.class, () -> new FastqBuilder(null));
}

@Test
Expand Down
Loading