Skip to content

Commit c872803

Browse files
committed
Let both old and new error message pass
1 parent 1de566b commit c872803

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/truffle/interop/remove_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272

7373
describe "with a name that doesn't start with @" do
7474
it "raises an unsupported message error" do
75-
lambda {
76-
Truffle::Interop.remove("abc", 1)
77-
}.should raise_error(RuntimeError, /Message not supported/)
75+
lambda { Truffle::Interop.remove("abc", 1) }.
76+
# TODO (pitr-ch 13-Mar-2019): when on Interop 2 keep the second match
77+
should raise_error(RuntimeError, /Message (not supported|unsupported)/)
7878
end
7979
end
8080
end

0 commit comments

Comments
 (0)