aboutsummaryrefslogtreecommitdiff
path: root/file/names_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'file/names_test.go')
-rw-r--r--file/names_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/file/names_test.go b/file/names_test.go
index 38e374d..b6a28c0 100644
--- a/file/names_test.go
+++ b/file/names_test.go
@@ -2,7 +2,7 @@ package file
import "testing"
-func TestNames(t *testing.T) {
+func TestCheckNames(t *testing.T) {
testCases := []struct {
pub, sec string
err error
@@ -15,7 +15,7 @@ func TestNames(t *testing.T) {
}
for _, tc := range testCases {
t.Run(tc.pub+"+"+tc.sec, func(t *testing.T) {
- err := Names(tc.pub, tc.sec)
+ err := CheckNames(tc.pub, tc.sec)
if err != tc.err {
t.Errorf("got %v, want %v", err, tc.err)
}