From b96ab9580e2364a230101afb5676da97710c32f6 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 6 May 2021 18:47:18 +0200 Subject: [PATCH] events: Update stderr for ui test The order in which errors are emitted changed. --- .../tests/ui/03-invalid-event-type.stderr | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/ruma-events/tests/ui/03-invalid-event-type.stderr b/crates/ruma-events/tests/ui/03-invalid-event-type.stderr index 7cf07183..8d801db7 100644 --- a/crates/ruma-events/tests/ui/03-invalid-event-type.stderr +++ b/crates/ruma-events/tests/ui/03-invalid-event-type.stderr @@ -1,9 +1,3 @@ -error: expected one of: `type`, `skip_redaction`, `custom_redacted` - --> $DIR/03-invalid-event-type.rs:11:14 - | -11 | #[ruma_event(event = "m.macro.test")] - | ^^^^^ - error: no event type attribute found, add `#[ruma_event(type = "any.room.event")]` below the event content derive --> $DIR/03-invalid-event-type.rs:4:48 | @@ -12,6 +6,12 @@ error: no event type attribute found, add `#[ruma_event(type = "any.room.event") | = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) +error: expected one of: `type`, `skip_redaction`, `custom_redacted` + --> $DIR/03-invalid-event-type.rs:11:14 + | +11 | #[ruma_event(event = "m.macro.test")] + | ^^^^^ + error: cannot find attribute `not_ruma_event` in this scope --> $DIR/03-invalid-event-type.rs:5:3 |