diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-03-20 18:09:07 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-03-20 18:09:07 +0100 |
| commit | 89ca15014ca14c327f0044a2084ff5e1ed4cdea4 (patch) | |
| tree | 2602508c85a67ab284b7881095eda985cac1be9c /tests | |
| parent | 9c144dd24f4d6eb148f8ba1049d9a365a233c504 (diff) | |
Ensmallen Time struct.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/time/test_core_time.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/time/test_core_time.odin b/tests/core/time/test_core_time.odin index 0e324ffaf..bfbe22412 100644 --- a/tests/core/time/test_core_time.odin +++ b/tests/core/time/test_core_time.odin @@ -172,7 +172,7 @@ date_component_roundtrip_test :: proc(t: ^testing.T, moment: dt.DateTime) { expected := fmt.tprintf("Expected %4d-%2d-%2d %2d:%2d:%2d, got %4d-%2d-%2d %2d:%2d:%2d", moment.year, moment.month, moment.day, moment.hour, moment.minute, moment.second, YYYY, MM, DD, hh, mm, ss) - ok = moment.year == i64(YYYY) && moment.month == i64(MM) && moment.day == i64(DD) - ok &= moment.hour == i64(hh) && moment.minute == i64(mm) && moment.second == i64(ss) + ok = moment.year == i64(YYYY) && moment.month == i64(MM) && moment.day == i64(DD) + ok &= moment.hour == i8(hh) && moment.minute == i8(mm) && moment.second == i8(ss) expect(t, ok, expected) }
\ No newline at end of file |