Update existing tests to work with ValaUnit

This commit is contained in:
Michael Gratton 2020-05-09 16:04:22 +10:00 committed by Michael James Gratton
parent 6b1bad28b9
commit 0ae633d88f
53 changed files with 773 additions and 756 deletions

View file

@ -15,19 +15,19 @@ class Geary.Imap.CreateCommandTest : TestCase {
}
public void basic_create() throws Error {
assert_string(
"---- create owatagusiam/",
new CreateCommand(new MailboxSpecifier("owatagusiam/")).to_string()
assert_equal(
new CreateCommand(new MailboxSpecifier("owatagusiam/")).to_string(),
"---- create owatagusiam/"
);
}
public void special_use() throws Error {
assert_string(
"---- create Everything (use (\\All))",
assert_equal(
new CreateCommand.special_use(
new MailboxSpecifier("Everything"),
ALL_MAIL
).to_string()
).to_string(),
"---- create Everything (use (\\All))"
);
}