Fix spelling mistakes caught by golangci-lint
This commit is contained in:
parent
035bba89f5
commit
592c20c7d4
4 changed files with 5 additions and 5 deletions
|
@ -391,7 +391,7 @@ func TestCommitMail(t *testing.T) {
|
|||
t.Run("Upload", func(t *testing.T) {
|
||||
defer tests.PrintCurrentTest(t)()
|
||||
|
||||
// Upload two seperate times, so we have two different 'uploads' that can
|
||||
// Upload two separate times, so we have two different 'uploads' that can
|
||||
// be used indepently of each other.
|
||||
uploadFile := func(t *testing.T, name, content string) string {
|
||||
t.Helper()
|
||||
|
|
|
@ -89,7 +89,7 @@ func TestDataSizeTranslation(t *testing.T) {
|
|||
fullSize = noDigits.ReplaceAllString(fullSize, "")
|
||||
assert.Equal(t, "git: КиБ; lfs: Б", fullSize)
|
||||
|
||||
// Check if file sizes are correclty translated
|
||||
// Check if file sizes are correctly translated
|
||||
testFileSizeTranslated(t, session, path.Join(testUser, testRepoName, "src/branch/main/137byteFile.txt"), "137 Б")
|
||||
testFileSizeTranslated(t, session, path.Join(testUser, testRepoName, "src/branch/main/1.5kibFile.txt"), "1,5 КиБ")
|
||||
testFileSizeTranslated(t, session, path.Join(testUser, testRepoName, "src/branch/main/1.25mibFile.txt"), "1,3 МиБ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue