File tree Expand file tree Collapse file tree
dd-java-agent/agent-iast/src/test/groovy/com/datadog/iast/propagation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import datadog.trace.bootstrap.instrumentation.api.AgentSpan
1212import datadog.trace.bootstrap.instrumentation.api.AgentTracer
1313import groovy.transform.CompileDynamic
1414import org.junit.jupiter.api.Assertions
15+ import spock.lang.IgnoreIf
1516
1617import java.text.SimpleDateFormat
1718
@@ -1414,11 +1415,12 @@ class StringModuleTest extends IastModuleImplTestBase {
14141415 taintFormat(result, taintedObject.getRanges()) == "==>my_input<=="
14151416 }
14161417
1418+ @IgnoreIf({ System.getProperty(' java. specification. version' ).toBigDecimal() < 15 })
14171419 void ' test translate escapes' () {
14181420 given:
14191421 final taintedObjects = ctx.getTaintedObjects()
14201422 def self = addFromTaintFormat(taintedObjects, testString)
1421- def result = self
1423+ def result = self.translateEscapes()
14221424
14231425 when:
14241426 module.onStringTranslateEscapes(self, result)
You can’t perform that action at this time.
0 commit comments