Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

test: add test cases for HumanNumber (#9108)

L. Jiang716e36561530
diff --git a/format/format_test.go b/format/format_test.go
index bff327803..f6aff2dce 100644
--- a/format/format_test.go
+++ b/format/format_test.go
@@ -12,6 +12,9 @@ func TestHumanNumber(t *testing.T) {
testCases := []testCase{
{0, "0"},
+ {999, "999"},
+ {1000, "1K"},
+ {1001, "1K"},
{1000000, "1M"},
{125000000, "125M"},
{500500000, "500.50M"},