Explorar el Código

Add unit test for #4608

Ryusei Yamaguchi hace 10 años
padre
commit
cf073db8a5
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      tests/unit/src/unit/issues/Issue4608.hx

+ 14 - 0
tests/unit/src/unit/issues/Issue4608.hx

@@ -0,0 +1,14 @@
+package unit.issues;
+
+class Issue4608 extends Test {
+    function test() {
+        var s = "𩸽あëa";
+        var b = false;
+        switch s {
+        case "𩸽あëa":
+            b = true;
+        case _:
+        }
+        t(b);
+    }
+}