Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-alvarez-alvarez committed Sep 24, 2024
1 parent 83d2dd3 commit 8c98f51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class StringBuilderCallSiteTest extends AgentTestRunner {
if (param.class == String) {
1 * iastModule.onStringBuilderAppend(target, (String) param)
} else {
1 * iastModule.onStringBuilderAppend(target, param.toString())
1 * iastModule.onStringBuilderAppend(target, { it -> it.toString() == param.toString() } )
}
_ * TEST_PROFILING_CONTEXT_INTEGRATION._
0 * _
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class EncoderCallSiteTest extends AgentTestRunner {
testSuite.&"$method".call(args)

then:
1 * module.taintObjectIfTainted(_, _, false, mark)
1 * module.taintStringIfTainted(_, _, false, mark)
0 * module._

where:
Expand Down

0 comments on commit 8c98f51

Please sign in to comment.