Skip to content

Commit

Permalink
(De)serialize status field as lowercase, as per schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
luka-ethernal committed May 3, 2024
1 parent df19e86 commit 8dccd91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/writer/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8dccd91

Please sign in to comment.