From 70aad1aca32905b192f510e3d0800df67506154c Mon Sep 17 00:00:00 2001 From: Erivelton de Andrade Nascimento <85421753+eNascimento178@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:37:43 -0300 Subject: [PATCH 1/3] Add support for j in test_configurations.go --- workspace/test_configurations.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workspace/test_configurations.go b/workspace/test_configurations.go index 176729e1b..715b6f1ac 100644 --- a/workspace/test_configurations.go +++ b/workspace/test_configurations.go @@ -139,6 +139,9 @@ var TestConfigurations = map[string]TestConfiguration{ "haskell": { Command: "stack test", }, + "j": { + Command: "jconsole -js \"exit echo unittest {{test_files}} [ load {{solution_files}}\"" + }, "java": { Command: "gradle test", }, From f43c022ae320b350e6d67a90e8f0b58ec017e78a Mon Sep 17 00:00:00 2001 From: Erivelton de Andrade Nascimento <85421753+eNascimento178@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:45:31 -0300 Subject: [PATCH 2/3] Exchange double quotes to backtick --- workspace/test_configurations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/test_configurations.go b/workspace/test_configurations.go index 715b6f1ac..a0daf7247 100644 --- a/workspace/test_configurations.go +++ b/workspace/test_configurations.go @@ -140,7 +140,7 @@ var TestConfigurations = map[string]TestConfiguration{ Command: "stack test", }, "j": { - Command: "jconsole -js \"exit echo unittest {{test_files}} [ load {{solution_files}}\"" + Command: `jconsole -js "exit echo unittest {{test_files}} [ load {{solution_files}}"` }, "java": { Command: "gradle test", From 7e80f0901c0334698eb52779f320b92d92e993bf Mon Sep 17 00:00:00 2001 From: Erivelton de Andrade Nascimento <85421753+eNascimento178@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:47:20 -0300 Subject: [PATCH 3/3] Update test_configurations.go --- workspace/test_configurations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/test_configurations.go b/workspace/test_configurations.go index a0daf7247..c6ac6fef8 100644 --- a/workspace/test_configurations.go +++ b/workspace/test_configurations.go @@ -140,7 +140,7 @@ var TestConfigurations = map[string]TestConfiguration{ Command: "stack test", }, "j": { - Command: `jconsole -js "exit echo unittest {{test_files}} [ load {{solution_files}}"` + Command: `jconsole -js "exit echo unittest {{test_files}} [ load {{solution_files}}"`, }, "java": { Command: "gradle test",