use super::*;
tests_impls!
{
fn basic()
{
use TheModule::string::indentation;
{
let src = "a\nbc";
let exp = "---a\n---bc";
let got = indentation( "---", src, "" );
a_id!( got, exp );
}
{
let src = "";
let exp = "---";
let got = indentation( "---", src, "" );
a_id!( got, exp );
}
{
let src = "\n";
let exp = "---\n---";
let got = indentation( "---", src, "" );
a_id!( got, exp );
}
}
}
tests_index!
{
basic,
}