[geary] Fix build failure
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Fix build failure
- Date: Tue, 30 Jun 2020 08:26:26 +0000 (UTC)
commit 16efce051412b0017d957bca2284534e50cbdf92
Author: Michael Gratton <mike vee net>
Date: Tue Jun 30 18:25:51 2020 +1000
Fix build failure
test/engine/imap/transport/imap-deserializer-test.vala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/test/engine/imap/transport/imap-deserializer-test.vala
b/test/engine/imap/transport/imap-deserializer-test.vala
index 156207cd4..b9c456d8f 100644
--- a/test/engine/imap/transport/imap-deserializer-test.vala
+++ b/test/engine/imap/transport/imap-deserializer-test.vala
@@ -131,12 +131,12 @@ class Geary.Imap.DeserializerTest : TestCase {
this.process.begin(Expect.MESSAGE, this.async_completion);
RootParameters? message = this.process.end(async_result());
- assert_int(2, message.size);
+ assert_equal<int?>(message.size, 2);
assert_true(
message.get(1) is UnquotedStringParameter,
"Not parsed as n atom"
);
- assert_string(bytes, message.get(1).to_string());
+ assert_string(message.get(1).to_string(), bytes);
}
public void parse_wildcard_flag() throws GLib.Error {
@@ -148,12 +148,12 @@ class Geary.Imap.DeserializerTest : TestCase {
this.process.begin(Expect.MESSAGE, this.async_completion);
RootParameters? message = this.process.end(async_result());
- assert_int(2, message.size);
+ assert_equal<int?>(message.size, 2);
assert_true(
message.get(1) is UnquotedStringParameter,
"Not parsed as n atom"
);
- assert_string(bytes, message.get(1).to_string());
+ assert_string(message.get(1).to_string(), bytes);
}
public void parse_response_code() throws Error {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]