Skip to content

Commit

Permalink
Files seem larger on Windows? Hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Apr 28, 2024
1 parent 778e130 commit a3335b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ func TestSize(t *testing.T) {
return nil
}

t.Logf("%s: %fK", path, inf.Size()/1024)

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.18.x, ubuntu-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, ubuntu-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, macos-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.18.x, ubuntu-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, ubuntu-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

Check failure on line 141 in toml_test.go

View workflow job for this annotation

GitHub Actions / test (1.22.x, macos-latest)

(*testing.common).Logf format %f has arg inf.Size() / 1024 of wrong type int64

if inf.Size() > 1024 {
t.Errorf("larger than 1K: %s (%fK)", path, float64(inf.Size())/1024)
}
Expand Down

0 comments on commit a3335b1

Please sign in to comment.