Browse Source

add test for issue #6266

frabbit 8 years ago
parent
commit
4c0c47d086
1 changed files with 9 additions and 0 deletions
  1. 9 0
      tests/unit/src/unit/issues/Issue6266.hx

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

@@ -0,0 +1,9 @@
+package unit.issues;
+
+class Issue6266 extends unit.Test {
+
+	function test() {
+		var foo = "foo";
+		eq(Reflect.field(foo, "length"), 3);
+	}
+}