Skip to content

Commit

Permalink
Bug 1930969 - Simplify tests by using the Default mechanism to avoid …
Browse files Browse the repository at this point in the history
…repeating large parts of structures.
  • Loading branch information
Standard8 committed Dec 5, 2024
1 parent 48832f6 commit ea52729
Show file tree
Hide file tree
Showing 3 changed files with 209 additions and 682 deletions.
2 changes: 1 addition & 1 deletion components/search/src/configuration_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub(crate) struct JSONEngineBase {

/// Specifies details of possible user environments that the engine or variant
/// applies to.
#[derive(Debug, Deserialize, Clone)]
#[derive(Debug, Deserialize, Clone, Default)]
#[serde(rename_all = "camelCase")]
pub(crate) struct JSONVariantEnvironment {
/// Indicates that this section applies to all regions and locales. May be
Expand Down
Loading

0 comments on commit ea52729

Please sign in to comment.