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::*;
}