Remove some leftover debugging checks

This commit is contained in:
Jakub Konka 2020-06-23 23:59:32 +02:00 committed by GitHub
parent 66e5205047
commit 5fed725e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,6 @@ test "extracting WASI preopens" {
std.testing.expectEqual(@as(usize, 1), preopens.asSlice().len); std.testing.expectEqual(@as(usize, 1), preopens.asSlice().len);
const preopen = preopens.find(PreopenType{ .Dir = "." }) orelse unreachable; const preopen = preopens.find(PreopenType{ .Dir = "." }) orelse unreachable;
std.debug.print("\n{}\n", .{preopen}); std.testing.expect(preopen.@"type".eql(PreopenType{ .Dir = "." }));
std.testing.expect(!preopen.@"type".eql(PreopenType{ .Dir = "." }));
std.testing.expectEqual(@as(usize, 3), preopen.fd); std.testing.expectEqual(@as(usize, 3), preopen.fd);
} }