| ... | @@ -1723,7 +1723,8 @@ pub const TestContext = struct { | ... | @@ -1723,7 +1723,8 @@ pub const TestContext = struct { |
| 1723 | (case_msg.src.column == std.math.maxInt(u32) or | 1723 | (case_msg.src.column == std.math.maxInt(u32) or |
| 1724 | actual_msg.column == case_msg.src.column) and | 1724 | actual_msg.column == case_msg.src.column) and |
| 1725 | std.mem.eql(u8, expected_msg, actual_msg.msg) and | 1725 | std.mem.eql(u8, expected_msg, actual_msg.msg) and |
| 1726 | case_msg.src.kind == .note) | 1726 | case_msg.src.kind == .note and |
| | 1727 | actual_msg.count == case_msg.src.count) |
| 1727 | { | 1728 | { |
| 1728 | handled_errors[i] = true; | 1729 | handled_errors[i] = true; |
| 1729 | break; | 1730 | break; |
| ... | @@ -1733,7 +1734,8 @@ pub const TestContext = struct { | ... | @@ -1733,7 +1734,8 @@ pub const TestContext = struct { |
| 1733 | if (ex_tag != .plain) continue; | 1734 | if (ex_tag != .plain) continue; |
| 1734 | | 1735 | |
| 1735 | if (std.mem.eql(u8, case_msg.plain.msg, plain.msg) and | 1736 | if (std.mem.eql(u8, case_msg.plain.msg, plain.msg) and |
| 1736 | case_msg.plain.kind == .note) | 1737 | case_msg.plain.kind == .note and |
| | 1738 | case_msg.plain.count == plain.count) |
| 1737 | { | 1739 | { |
| 1738 | handled_errors[i] = true; | 1740 | handled_errors[i] = true; |
| 1739 | break; | 1741 | break; |