Skip to content

Commit adcee63

Browse files
committed
✅🚧 Mark 2 FetchData tests as pending for TruffleRuby
1 parent 7efc9ab commit adcee63

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/net/imap/test_fetch_data.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ def fetch_data_class
1414
end
1515

1616
test "#uid" do
17-
data = Net::IMAP::FetchData.new(22222, "UID" => 54_321)
18-
assert_equal 54_321, data.uid
17+
pend_if_truffleruby do
18+
data = Net::IMAP::FetchData.new(22222, "UID" => 54_321)
19+
assert_equal 54_321, data.uid
20+
end
1921
end
2022
end
2123

@@ -37,8 +39,10 @@ def fetch_data_class
3739
end
3840

3941
test "#initialize warns when uid differs from attr['UID']" do
40-
assert_warn(/UIDs do not match/i) do
41-
Net::IMAP::UIDFetchData.new(22222, "UID" => 54_321)
42+
pend_if_truffleruby do
43+
assert_warn(/UIDs do not match/i) do
44+
Net::IMAP::UIDFetchData.new(22222, "UID" => 54_321)
45+
end
4246
end
4347
end
4448

0 commit comments

Comments
 (0)