mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Apply suggestions from code review
Co-authored-by: flysand7 <yyakut.ac@gmail.com>
This commit is contained in:
co-authored by
flysand7
parent
d08b3d3b82
commit
32e13f17ae
@@ -201,7 +201,7 @@ test_print_rfc3339 :: proc(t: ^testing.T) {
|
||||
TestCase :: struct {
|
||||
printed: string,
|
||||
time: i64,
|
||||
utc_offset: int
|
||||
utc_offset: int,
|
||||
};
|
||||
|
||||
tests :: [?]TestCase {
|
||||
@@ -221,7 +221,8 @@ test_print_rfc3339 :: proc(t: ^testing.T) {
|
||||
|
||||
testing.expectf(
|
||||
t, printed_timestamp == test.printed,
|
||||
"expected is %w, printed is %w", test.printed, printed_timestamp)
|
||||
"expected is %w, printed is %w", test.printed, printed_timestamp,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user