Sha256: 3b7de988ea9819488e257c870951693bee71308b22e402243ab91c30dec0d0e2

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

require_relative '../helper'

class RemailerIMAPClientInterpreterTest < MiniTest::Test
  def test_split_list_definition
    assert_mapping(
      '(\HasChildren \HasNoChildren) "/" "[Gmail]/All Mail"' =>
        [ %w[ \HasChildren \HasNoChildren ], "/", "[Gmail]/All Mail" ],
      '(\HasNoChildren) "/" "INBOX"' =>
        [ %w[ \HasNoChildren ], "/", "INBOX" ]
    ) do |string|
      Remailer::IMAP::Client::Interpreter.split_list_definition(string)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
remailer-0.9.1 test/unit/remailer_imap_client_interpreter_test.rb
remailer-0.7.1.2 test/unit/remailer_imap_client_interpreter_test.rb
remailer-0.7.1.1 test/unit/remailer_imap_client_interpreter_test.rb
remailer-0.7.1 test/unit/remailer_imap_client_interpreter_test.rb
remailer-0.6.0 test/unit/remailer_imap_client_interpreter_test.rb