mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
remove debug print (#8394)
* remove debug print * cean up comment too Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> --------- Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
a22ff1ec92
commit
7590df70b1
1 changed files with 0 additions and 5 deletions
|
|
@ -90,11 +90,6 @@ test "canonicalizeAndTypeCheckModule preserves Try types in type printing" {
|
|||
try type_writer.write(map_result_var.?);
|
||||
const type_str = type_writer.get();
|
||||
|
||||
std.debug.print("\nActual type: {s}\n", .{type_str});
|
||||
|
||||
// The type should be "Try(a, e), (a -> b) -> Try(b, e)"
|
||||
// But the bug causes it to be "Error, (a -> b) -> Error"
|
||||
|
||||
// Check that the type contains "Try" and not "Error"
|
||||
try testing.expect(std.mem.indexOf(u8, type_str, "Try") != null);
|
||||
try testing.expect(std.mem.indexOf(u8, type_str, "Error") == null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue