aboutsummaryrefslogtreecommitdiff
path: root/plugins/signal-protocol/tests/common.vala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/signal-protocol/tests/common.vala')
-rw-r--r--plugins/signal-protocol/tests/common.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/signal-protocol/tests/common.vala b/plugins/signal-protocol/tests/common.vala
index 4fd463c0..26e90185 100644
--- a/plugins/signal-protocol/tests/common.vala
+++ b/plugins/signal-protocol/tests/common.vala
@@ -52,7 +52,7 @@ void fail_if_not_error_code(ErrorFunc func, int expectedCode, string? reason = n
func();
fail_if_reached(@"$(reason + ": " ?? "")no error thrown");
} catch (Error e) {
- fail_if_not_eq_int(e.code, expectedCode, @"$(reason + ": " ?? "")catched unexpected error");
+ fail_if_not_eq_int(e.code, expectedCode, @"$(reason + ": " ?? "")caught unexpected error");
}
}
@@ -89,4 +89,4 @@ bool fail_if_null(void* what, string? reason = null) {
return fail_if(what == null || (size_t)what == 0, reason);
}
-} \ No newline at end of file
+}