mirror of https://github.com/djcb/mu.git
document: cosmetic
This commit is contained in:
parent
810b9643f4
commit
ca8836b631
|
@ -214,6 +214,7 @@ static Sexp
|
|||
make_emacs_time_sexp(::time_t t)
|
||||
{
|
||||
Sexp::List dlist;
|
||||
|
||||
dlist.add(Sexp::make_number(static_cast<unsigned>(t >> 16)));
|
||||
dlist.add(Sexp::make_number(static_cast<unsigned>(t & 0xffff)));
|
||||
dlist.add(Sexp::make_number(0));
|
||||
|
@ -401,8 +402,10 @@ test_bcc()
|
|||
doc.add(Field::Id::Bcc, test_contacts);
|
||||
|
||||
Contacts expected_contacts = {{
|
||||
Contact{"john@example.com", "John", Contact::Type::Bcc},
|
||||
Contact{"ringo@example.com", "Ringo", Contact::Type::Bcc},
|
||||
Contact{"john@example.com", "John",
|
||||
Contact::Type::Bcc},
|
||||
Contact{"ringo@example.com", "Ringo",
|
||||
Contact::Type::Bcc},
|
||||
}};
|
||||
const auto actual_contacts = doc.contacts_value(Field::Id::Bcc);
|
||||
assert_same_contacts(expected_contacts, actual_contacts);
|
||||
|
@ -411,8 +414,10 @@ test_bcc()
|
|||
{
|
||||
Document doc;
|
||||
Contacts contacts = {{
|
||||
Contact{"john@example.com", "John Lennon", Contact::Type::Bcc},
|
||||
Contact{"ringo@example.com", "Ringo", Contact::Type::Bcc},
|
||||
Contact{"john@example.com", "John Lennon",
|
||||
Contact::Type::Bcc},
|
||||
Contact{"ringo@example.com", "Ringo",
|
||||
Contact::Type::Bcc},
|
||||
}};
|
||||
doc.add(Field::Id::Bcc, contacts);
|
||||
|
||||
|
|
Loading…
Reference in New Issue