(t *testing.T)
| 521 | } |
| 522 | |
| 523 | func TestFormatStars(t *testing.T) { |
| 524 | assert.Equal(t, "0", formatStars(0)) |
| 525 | assert.Equal(t, "42", formatStars(42)) |
| 526 | assert.Equal(t, "999", formatStars(999)) |
| 527 | assert.Equal(t, "1.0k", formatStars(1000)) |
| 528 | assert.Equal(t, "1.7k", formatStars(1700)) |
| 529 | assert.Equal(t, "12.5k", formatStars(12500)) |
| 530 | } |
| 531 | |
| 532 | func TestQualifiedName(t *testing.T) { |
| 533 | tests := []struct { |
nothing calls this directly
no test coverage detected