From 8dccd91fb943d715afee2caac8c3a13726ff2ad7 Mon Sep 17 00:00:00 2001 From: Luka Borkovic Date: Fri, 3 May 2024 09:58:08 +0200 Subject: [PATCH] (De)serialize status field as lowercase, as per schema. --- src/writer/json.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/writer/json.rs b/src/writer/json.rs index 526c0fd6..af191107 100644 --- a/src/writer/json.rs +++ b/src/writer/json.rs @@ -478,6 +478,7 @@ pub struct Tag { /// Possible statuses of running [`gherkin::Step`]. #[derive(Clone, Copy, Debug, Serialize)] +#[serde(rename_all = "lowercase")] pub enum Status { /// [`event::Step::Passed`]. Passed,