Browse Source

[php] test for #6057

Alexander Kuzmenko 8 years ago
parent
commit
ece9d0e2b5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      tests/sys/src/TestFileSystem.hx

+ 5 - 0
tests/sys/src/TestFileSystem.hx

@@ -108,4 +108,9 @@ class TestFileSystem extends haxe.unit.TestCase {
 			assertTrue(FileSystem.readDirectory(path) != null);
 		}
 	}
+
+	function testStatDirectory() {
+		var stat = FileSystem.stat(dir);
+		assertTrue(stat != null);
+	}
 }