aboutsummaryrefslogtreecommitdiff
path: root/file/names_test.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-05-03 21:03:47 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-05-03 21:03:47 +0200
commit7aad19c841d5ba82e6e8a04fc6410b463f78f4a0 (patch)
tree417aa6e513eb790343128a7509ebf603331080e9 /file/names_test.go
parent8c626c586023754059c10b7947e463d84b2defdf (diff)
generate
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)
}