sync stdlib from honey

This commit is contained in:
2026-07-22 00:53:18 +02:00
parent 9c6215776e
commit 09571ffeb9
10 changed files with 279 additions and 23 deletions
+5 -3
View File
@@ -38,9 +38,11 @@ expect_equal func($T type, expected, actual T, location SourceLocation) void ! E
debug.print("{s}:{d}:{d}: expected and actual slices differ\n", {location.file, location.line, location.column})
return .expectation_failed
}
else: if expected != actual {
debug.print("{s}:{d}:{d}: expected {}, found {}\n", {location.file, location.line, location.column, expected, actual})
return .expectation_failed
else: {
if expected != actual {
debug.print("{s}:{d}:{d}: expected {}, found {}\n", {location.file, location.line, location.column, expected, actual})
return .expectation_failed
}
}
}
}