We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efc9ab commit adcee63Copy full SHA for adcee63
test/net/imap/test_fetch_data.rb
@@ -14,8 +14,10 @@ def fetch_data_class
14
end
15
16
test "#uid" do
17
- data = Net::IMAP::FetchData.new(22222, "UID" => 54_321)
18
- assert_equal 54_321, data.uid
+ pend_if_truffleruby do
+ data = Net::IMAP::FetchData.new(22222, "UID" => 54_321)
19
+ assert_equal 54_321, data.uid
20
+ end
21
22
23
@@ -37,8 +39,10 @@ def fetch_data_class
37
39
38
40
41
test "#initialize warns when uid differs from attr['UID']" do
- assert_warn(/UIDs do not match/i) do
- Net::IMAP::UIDFetchData.new(22222, "UID" => 54_321)
42
43
+ assert_warn(/UIDs do not match/i) do
44
+ Net::IMAP::UIDFetchData.new(22222, "UID" => 54_321)
45
46
47
48
0 commit comments