diff --git a/tests/test_indoc.rs b/tests/test_indoc.rs index e0ead11..c849bfc 100644 --- a/tests/test_indoc.rs +++ b/tests/test_indoc.rs @@ -1,5 +1,15 @@ use indoc::indoc; +const HELP: &str = indoc! {" + Usage: ./foo +"}; + +#[test] +fn test_global() { + let expected = "Usage: ./foo\n"; + assert_eq!(HELP, expected); +} + #[test] fn byte_string() { let indoc = indoc! {b"