Browse Source

add test (closes #9370)

Dan Korostelev 5 years ago
parent
commit
8a8f9d7727
1 changed files with 9 additions and 0 deletions
  1. 9 0
      tests/unit/src/unit/issues/Issue9370.hx

+ 9 - 0
tests/unit/src/unit/issues/Issue9370.hx

@@ -0,0 +1,9 @@
+package unit.issues;
+
+class Issue9370 extends unit.Test {
+	function test() {
+		var foo = 123;
+		eq("true  123 ", '${true /* breakme */} ${' ${foo} '}');
+		eq("true  123 ", '${true} ${' ${foo} '}');
+	}
+}