//! Guards the surviving provider-geometry seam: `aura_ingest::instrument_geometry`
//! and the `InstrumentGeometry` re-export must stay nameable from outside the crate
//! (a downstream broker consumes them). Dropping the re-export would break this.
use aura_ingest::{default_data_server, instrument_geometry, InstrumentGeometry};

#[test]
fn provider_geometry_type_is_nameable_through_the_ingest_seam() {
    // Name the re-exported type explicitly (not just `_`), so removing the
    // `pub use data_server::meta::InstrumentGeometry` re-export fails to compile here.
    let server = default_data_server();
    let _maybe: Option<InstrumentGeometry> = instrument_geometry(&server, "EURUSD");
}
