rename none to null

This commit is contained in:
2026-07-22 00:48:44 +02:00
parent 979a8e5f07
commit 77696e19c9
9 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -26,11 +26,11 @@ expect_equal func($T type, expected, actual T, location SourceLocation) void ! E
try expect_equal(expected_value, actual_value, location)
return
}
debug.print("{s}:{d}:{d}: expected an optional value, found none\n", {location.file, location.line, location.column})
debug.print("{s}:{d}:{d}: expected an optional value, found null\n", {location.file, location.line, location.column})
return .expectation_failed
}
if actual |_| {
debug.print("{s}:{d}:{d}: expected none, found an optional value\n", {location.file, location.line, location.column})
debug.print("{s}:{d}:{d}: expected null, found an optional value\n", {location.file, location.line, location.column})
return .expectation_failed
}
}