From 4f4de3ff6777c7fd00bc3b8549aa89b4499932ec Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Wed, 17 Jul 2024 14:29:57 -0700 Subject: [PATCH] Start migrating fixtures to neo skeleta --- components/datetime/benches/fixtures/mod.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/datetime/benches/fixtures/mod.rs b/components/datetime/benches/fixtures/mod.rs index 7e2df0a9954..703ca49e038 100644 --- a/components/datetime/benches/fixtures/mod.rs +++ b/components/datetime/benches/fixtures/mod.rs @@ -2,7 +2,7 @@ // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). -use icu_datetime::options; +use icu_datetime::{neo_skeleton::NeoSkeleton, options}; use icu_datetime::options::DateTimeFormatterOptions; use serde::{Deserialize, Serialize}; @@ -25,12 +25,12 @@ pub struct TestInput { pub enum TestOptions { #[serde(rename = "length")] Length(options::length::Bag), - #[serde(rename = "components")] + #[serde(rename = "semanticSkeleton")] #[cfg(feature = "experimental")] - Components(options::components::Bag), - #[serde(rename = "components")] + SemanticSkeleton(NeoSkeleton), + #[serde(rename = "semanticSkeleton")] #[cfg(not(feature = "experimental"))] - Components(serde_json::Value), + SemanticSkeleton(serde_json::Value), } #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]