Skip to content

Commit

Permalink
diff: use diff_effect_fn from harness ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
0x0ece committed May 28, 2024
1 parent 4524483 commit d542b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test_suite/multiprocessing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,9 @@ def build_test_results(results: dict[str, str | None]) -> tuple[int, dict | None
if protobuf_structures[globals.solana_shared_library] is None:
return 0, None

diff_effect_fn = globals.harness_ctx.diff_effect_fn
test_case_passed = all(
protobuf_structures[globals.solana_shared_library] == result
diff_effect_fn(protobuf_structures[globals.solana_shared_library], result)
for result in protobuf_structures.values()
)

Expand Down

0 comments on commit d542b4e

Please sign in to comment.