From 2d3342bf56cae2905a118133d52c8e3076304c99 Mon Sep 17 00:00:00 2001 From: litetex <40789489+litetex@users.noreply.github.com> Date: Wed, 5 Mar 2025 15:44:25 +0100 Subject: [PATCH] Improve tests --- .../extractor/utils/JavaScriptExtractorTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/extractor/src/test/java/org/schabi/newpipe/extractor/utils/JavaScriptExtractorTest.java b/extractor/src/test/java/org/schabi/newpipe/extractor/utils/JavaScriptExtractorTest.java index 807054fce..ad47e3e74 100644 --- a/extractor/src/test/java/org/schabi/newpipe/extractor/utils/JavaScriptExtractorTest.java +++ b/extractor/src/test/java/org/schabi/newpipe/extractor/utils/JavaScriptExtractorTest.java @@ -1,5 +1,9 @@ package org.schabi.newpipe.extractor.utils; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; +import static org.schabi.newpipe.FileUtils.resolveTestResource; + import org.junit.jupiter.api.Test; import org.schabi.newpipe.extractor.exceptions.ParsingException; import org.schabi.newpipe.extractor.utils.jsextractor.JavaScriptExtractor; @@ -10,11 +14,7 @@ import java.io.File; import java.io.IOException; import java.nio.file.Files; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; -import static org.schabi.newpipe.FileUtils.resolveTestResource; - -public class JavaScriptExtractorTest +class JavaScriptExtractorTest { @Test void testJsExtractor() throws ParsingException {