summaryrefslogtreecommitdiff
path: root/tests/macro_processor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macro_processor.rs')
-rw-r--r--tests/macro_processor.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/macro_processor.rs b/tests/macro_processor.rs
index cb21df5..c224b54 100644
--- a/tests/macro_processor.rs
+++ b/tests/macro_processor.rs
@@ -257,3 +257,13 @@ fn test_smp_expr_1() {
",
);
}
+
+#[test]
+fn test_smp_whitespace_deleting_1() {
+ assert_eq!(run_macro_processor("define(a, b) a"), " b",);
+}
+
+#[test]
+fn test_smp_whitespace_deleting_2() {
+ assert_eq!(run_macro_processor("define(a, b) a_"), "b",);
+}