mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-09-20 07:21:22 +00:00
test: output format readability improvement
This commit is contained in:
parent
561ffd9c86
commit
fc4d2aa5a5
@ -65,13 +65,13 @@ func (s *linguistCorpusSuite) TestLinguistSamples() {
|
||||
|
||||
errMsg := fmt.Sprintf("file: %q\texpected: %q\tgot: %q\n", path, expected, got)
|
||||
if _, ok := cornerCases[filename]; ok {
|
||||
s.T().Logf(fmt.Sprintf("\t\t[corner case] %s", errMsg))
|
||||
s.T().Logf(fmt.Sprintf("\t[corner case] %s", errMsg))
|
||||
} else {
|
||||
s.Equal(expected, got, errMsg)
|
||||
}
|
||||
return nil
|
||||
})
|
||||
s.T().Logf("\t\ttotal files: %d, ok: %d, failed: %d, other: %d\n", total, ok, failed, other)
|
||||
s.T().Logf("\ttotal files: %d, ok: %d, failed: %d, other: %d\n", total, ok, failed, other)
|
||||
}
|
||||
|
||||
// Second part of the test_blob.rb#test_language
|
||||
|
Loading…
Reference in New Issue
Block a user