TestStatusBarOmitsBudgetWithoutHeaders: endpoint sends no budget header, no pass segment appears.
(t *testing.T)
| 1365 | {0, "0 tok"}, |
| 1366 | {1, "1 tok"}, |
| 1367 | {900, "900 tok"}, |
| 1368 | {999, "999 tok"}, |
| 1369 | {1000, "1.0k tok"}, |
| 1370 | {1200, "1.2k tok"}, |
| 1371 | {1900, "1.9k tok"}, // the pair the user flagged: must stay constant width |
| 1372 | {2000, "2.0k tok"}, // not "2k tok" |
| 1373 | {9999, "10.0k tok"}, |
| 1374 | {10_000, "10.0k tok"}, |
| 1375 | {42_000, "42.0k tok"}, |
| 1376 | {999_999, "1000.0k tok"}, |
| 1377 | {1_000_000, "1.0M tok"}, |
| 1378 | {1_500_000, "1.5M tok"}, |
| 1379 | {12_345_678, "12.3M tok"}, |