sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 5606b05134d1edc997bb6d0895138d8782edd8cf
parent 7902898566c3a28e9391ee4f9f9adb3ffcce51e1
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon, 23 May 2022 19:08:40 +1000

tests: add some missing assertions

Doesn't seem like a particularly interesting test case, and the git
history doesn't give any clues about what it's trying to cover.
But let's just fill in some assertions for completeness' sake.

Diffstat:
M test/test_message.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/test_message.rb b/test/test_message.rb
@@ -168,7 +168,8 @@ class TestMessage < Minitest::Test
 
     chunks = sup_message.load_from_source! # read the message body chunks
 
-    # TODO: Add more asserts
+    assert_equal(1, chunks.length)
+    assert(chunks[0].is_a? Redwood::Chunk::Attachment)
   end
 
   def test_text_attachment_decoding