Fix tests.

This commit is contained in:
Christoffer Lerno
2025-03-07 23:54:01 +01:00
parent a088a5057a
commit 1dca90b89d
2 changed files with 9 additions and 8 deletions

View File

@@ -253,7 +253,7 @@ macro @parse_uint(self, $Type; @body(x, c, ok)) @private
char! c = self.reader.read_byte();
if (catch err = c)
{
if (err = IoError.EOF) break;
if (err == IoError.EOF) break;
return err?;
}
else