summaryrefslogtreecommitdiffstats
path: root/modules/indexer/stats
diff options
context:
space:
mode:
Diffstat (limited to 'modules/indexer/stats')
-rw-r--r--modules/indexer/stats/indexer_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go
index b60c6d9bb4..4bcbaa9423 100644
--- a/modules/indexer/stats/indexer_test.go
+++ b/modules/indexer/stats/indexer_test.go
@@ -39,7 +39,5 @@ func TestRepoStatsIndex(t *testing.T) {
assert.Equal(t, "65f1bf27bc3bf70f64657658635e66094edbcb4d", status.CommitSha)
langs, err := repo.GetTopLanguageStats(5)
assert.NoError(t, err)
- assert.Len(t, langs, 1)
- assert.Equal(t, "other", langs[0].Language)
- assert.Equal(t, float32(100), langs[0].Percentage)
+ assert.Empty(t, langs)
}