Skip to content

Commit

Permalink
Change assertion for taintable objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariovido committed Nov 27, 2024
1 parent 09a4c95 commit 28eeeba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ class StringModuleTest extends IastModuleImplTestBase {
then:
1 * tracer.activeSpan() >> span
taintFormat(result, taintedObject.getRanges()) == "==>" + param.toString() + "<=="
taintFormat(result, taintedObject.getRanges()) == "==>my_input<=="
}
void 'test valueOf with special objects and make sure IastRequestContext is called'() {
Expand Down Expand Up @@ -1411,7 +1411,7 @@ class StringModuleTest extends IastModuleImplTestBase {
@Override
String toString() {
return Taintable.name
return "my_input"
}
}
}

0 comments on commit 28eeeba

Please sign in to comment.