# __test_api.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.17/src/__test_api.rs`.
Keywords: rust, rustlang, rust-lang

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18

    // This crate comprises hacks and glue required to test private functions from tests/
    //
    // Keep this as slim as possible.
    //
    // If you're caught using this outside this crates tests/, you get to clean up the mess.

    #[cfg(not(feature = "std"))]
    use crate::no_std_prelude::*;

    use crate::stream_safe::StreamSafe;

    pub fn stream_safe(s: &str) -> String {
        StreamSafe::new(s.chars()).collect()
    }

    pub mod quick_check {
        pub use crate::quick_check::*;
    }