diff --git a/std/internal/conv/itoa_test.jule b/std/internal/conv/itoa_test.jule index b9477ba53..57de7e4ff 100644 --- a/std/internal/conv/itoa_test.jule +++ b/std/internal/conv/itoa_test.jule @@ -32,6 +32,16 @@ static casesUtoa: []utoaCase = [ {0, "0"}, ] +#test +fn testItoa(t: &testing::T) { + for _, case in casesItoa { + s := Itoa(case.i) + if s != case.s { + t.Errorf("expected {} for {}, found {}", case.s, case.i, s) + } + } +} + #test fn testUtoa(t: &testing::T) { for _, case in casesUtoa {