You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2023/04/16 10:10:01 UTC

[jena] branch main updated: incorrectly skipped tests

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new ba6397582a incorrectly skipped tests
     new 0b269d0177 Merge pull request #1842 from SimonBin/js-tests
ba6397582a is described below

commit ba6397582a25973b58f58afe09e2bf6e146ff8b2
Author: Simon Bin <sb...@informatik.uni-leipzig.de>
AuthorDate: Fri Apr 14 10:48:59 2023 +0200

    incorrectly skipped tests
---
 .../org/apache/jena/sparql/function/scripting/TestScriptFunction.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jena-arq/src/test/java/org/apache/jena/sparql/function/scripting/TestScriptFunction.java b/jena-arq/src/test/java/org/apache/jena/sparql/function/scripting/TestScriptFunction.java
index ffb146adec..b2f1db2acc 100644
--- a/jena-arq/src/test/java/org/apache/jena/sparql/function/scripting/TestScriptFunction.java
+++ b/jena-arq/src/test/java/org/apache/jena/sparql/function/scripting/TestScriptFunction.java
@@ -208,7 +208,7 @@ public class TestScriptFunction {
 
     @Test
     public void script_err_3() {
-        if (!language.equals("JS")) {
+        if (!language.equalsIgnoreCase("JS")) {
             return;
         }
         // Legal in JS.
@@ -218,7 +218,7 @@ public class TestScriptFunction {
 
     @Test
     public void script_err_4() {
-        if (!language.equals("JS")) {
+        if (!language.equalsIgnoreCase("JS")) {
             return;
         }
         // Legal in JS.