File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dd-java-agent/agent-iast/src/test/groovy/com/datadog/iast/propagation Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import datadog.trace.bootstrap.instrumentation.api.AgentSpan
12
12
import datadog.trace.bootstrap.instrumentation.api.AgentTracer
13
13
import groovy.transform.CompileDynamic
14
14
import org.junit.jupiter.api.Assertions
15
+ import spock.lang.IgnoreIf
15
16
16
17
import java.text.SimpleDateFormat
17
18
@@ -1414,11 +1415,12 @@ class StringModuleTest extends IastModuleImplTestBase {
1414
1415
taintFormat(result, taintedObject.getRanges()) == "==>my_input<=="
1415
1416
}
1416
1417
1418
+ @IgnoreIf({ System.getProperty(' java. specification. version' ).toBigDecimal() < 15 })
1417
1419
void ' test translate escapes' () {
1418
1420
given:
1419
1421
final taintedObjects = ctx.getTaintedObjects()
1420
1422
def self = addFromTaintFormat(taintedObjects, testString)
1421
- def result = self
1423
+ def result = self.translateEscapes()
1422
1424
1423
1425
when:
1424
1426
module.onStringTranslateEscapes(self, result)
You can’t perform that action at this time.
0 commit comments