HaxeFoundation / haxe

Haxe - The Cross-Platform Toolkit
https://haxe.org
6.14k stars 656 forks source link

Add test for sys.FileSystem.readDirectory error #11601

Closed tobil4sk closed 3 months ago

tobil4sk commented 7 months ago

According to the docs:

If path does not denote a valid directory, an exception is thrown.

This wasn't the case on hxcpp on Windows, so I've added a test here and created a patch for hxcpp: https://github.com/HaxeFoundation/hxcpp/pull/1095

Also relevant: #8232

tobil4sk commented 3 months ago

Since the hxcpp PR has been merged, this test is passing now. @Simn