Skip to content

Commit

Permalink
Fix test cases for OTP 25
Browse files Browse the repository at this point in the history
  • Loading branch information
potatosalad committed Oct 4, 2023
1 parent 960f359 commit 0657459
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/untrusted_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ defmodule UntrustedTest do
assert(
match?(
[
{_, ^vnode, EDF.udist_dop_alias_send(), {_, :yes}}
# OTP 26+ only
# {_, ^vnode, EDF.udist_dop_alias_send(), {_, :yes}}
{_, ^vnode, _, {_, :yes}}
],
@peers.logger_export(upeer)
)
Expand All @@ -66,7 +68,9 @@ defmodule UntrustedTest do
assert(
match?(
[
{:classify, :unsafe, :keep, ^vnode, EDF.udist_dop_alias_send(), {_, :yes}}
# OTP 26+ only
# {:classify, :unsafe, :keep, ^vnode, EDF.udist_dop_alias_send(), {_, :yes}}
{:classify, :unsafe, :keep, ^vnode, _, {_, :yes}}
],
@peers.handler_export(upeer)
)
Expand Down

0 comments on commit 0657459

Please sign in to comment.