test: remove t.Log()

This commit is contained in:
dudaodong
2023-04-26 14:59:45 +08:00
parent 581e338889
commit 4311b9ac66
14 changed files with 15 additions and 38 deletions

View File

@@ -200,7 +200,6 @@ func TestCountSort(t *testing.T) {
}
comparator := &peopleAgeComparator{}
sortedPeopleByAge := CountSort(peoples, comparator)
t.Log(sortedPeopleByAge)
expected := "[{d 8} {b 10} {c 17} {a 20} {e 28}]"
actual := fmt.Sprintf("%v", sortedPeopleByAge)