From 55d3adb7aef47d30150500a3c751373f99e3fd08 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 12 Oct 2023 21:13:48 +0200 Subject: [PATCH] junit: fix generation of html page for single-test JS runner --- .../src/main/java/org/teavm/junit/TestPlatformSupport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java b/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java index dc14647d2..536432a18 100644 --- a/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java +++ b/tools/junit/src/main/java/org/teavm/junit/TestPlatformSupport.java @@ -170,7 +170,7 @@ abstract class TestPlatformSupport { protected final void htmlSingleTestOutput(File outputPathForMethod, TeaVMTestConfiguration configuration, String template) { - File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".wasm"); + File testPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), getExtension()); File htmlPath = getOutputFile(outputPathForMethod, "test", configuration.getSuffix(), ".html"); var properties = Map.of( "SCRIPT", testPath.getName(),