diff --git a/src/string.rs b/src/string.rs index 02f24e0..6db8bd0 100644 --- a/src/string.rs +++ b/src/string.rs @@ -1,3 +1,6 @@ mod my_str_strict; pub use my_str_strict::Str; + +#[cfg(test)] +mod tests; diff --git a/src/string/tests.rs b/src/string/tests.rs new file mode 100644 index 0000000..e98d4d9 --- /dev/null +++ b/src/string/tests.rs @@ -0,0 +1,6 @@ +use super::Str; + +#[test] +fn createdsucsessfuly() { + let _s: Str = Str::new(); +}