Skip to content

Commit 37fc4c9

Browse files
committed
Improve assertion to match for the actual response values
1 parent 471b817 commit 37fc4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/net/imap/test_imap.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def test_uid_expunge
801801
imap = Net::IMAP.new(server_addr, :port => port)
802802
response = imap.uid_expunge(1000..1003)
803803
assert_equal("RUBY0001 UID EXPUNGE 1000:1003\r\n", requests.pop)
804-
assert_equal(response.length, 3)
804+
assert_equal(response, [1, 1, 1])
805805
imap.logout
806806
ensure
807807
imap.disconnect if imap

0 commit comments

Comments
 (0)