diff --git a/test/tetest.js b/test/tetest.js
index <HASH>..<HASH> 100644
--- a/test/tetest.js
+++ b/test/tetest.js
@@ -86,5 +86,12 @@ test("print", function() {
     equal(transform(r), "Test");
 });
 
+test("singleLineEventSlashEscape", function() {
+    var r = e.eval("\\\n%print(1+1)");
+    equal(r, "\n%print(1+1)");
+    var r = e.eval("\\\\\n%print(1+1)");
+    equal(r, "\\2");
+});
+
 
 });
Added test about slash escaping of %