| ... | @@ -2561,7 +2561,7 @@ test "open smoke test" { | ... | @@ -2561,7 +2561,7 @@ test "open smoke test" { |
| 2561 | } | 2561 | } |
| 2562 | | 2562 | |
| 2563 | // Try opening as file which should fail. | 2563 | // Try opening as file which should fail. |
| 2564 | try expectError(error.IsDir, tmp.dir.openFile(io, "some_dir", .{})); | 2564 | try expectError(error.IsDir, tmp.dir.openFile(io, "some_dir", .{ .allow_directory = false })); |
| 2565 | } | 2565 | } |
| 2566 | | 2566 | |
| 2567 | test "hard link with different directories" { | 2567 | test "hard link with different directories" { |