Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit e40174c

Browse files
committed
Fix typo in function name
1 parent 8f39a4d commit e40174c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cmd/kssh/kssh_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/stretchr/testify/require"
1111
)
1212

13-
func copyKeyFromTextFixture(t *testing.T, name, destination string) {
13+
func copyKeyFromTestFixture(t *testing.T, name, destination string) {
1414
priv, err := ioutil.ReadFile(fmt.Sprintf("../../../tests/testFiles/%s", name))
1515
require.NoError(t, err)
1616
err = ioutil.WriteFile(destination, priv, 0600)
@@ -37,11 +37,11 @@ func TestIsValidCert(t *testing.T) {
3737
require.False(t, isValidCert(certTestFilename))
3838

3939
// Test that a valid cert signed for the next 100 years is a valid cert
40-
copyKeyFromTextFixture(t, "valid", certTestFilename)
40+
copyKeyFromTestFixture(t, "valid", certTestFilename)
4141
require.True(t, isValidCert(certTestFilename))
4242

4343
// Test that an expired cert is not valid
44-
copyKeyFromTextFixture(t, "expired", certTestFilename)
44+
copyKeyFromTestFixture(t, "expired", certTestFilename)
4545
require.False(t, isValidCert(certTestFilename))
4646
}
4747

0 commit comments

Comments
 (0)