Rename URI -> Config/Location

This commit is contained in:
Alexander Neumann
2015-12-28 15:57:20 +01:00
parent 566a15285a
commit de933a1d48
7 changed files with 30 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ package s3
import "testing"
var uriTests = []struct {
var configTests = []struct {
s string
cfg Config
}{
@@ -17,7 +17,7 @@ var uriTests = []struct {
}
func TestParseConfig(t *testing.T) {
for i, test := range uriTests {
for i, test := range configTests {
cfg, err := ParseConfig(test.s)
if err != nil {
t.Errorf("test %d failed: %v", i, err)

View File

@@ -2,7 +2,7 @@ package sftp
import "testing"
var uriTests = []struct {
var configTests = []struct {
s string
cfg Config
}{
@@ -36,7 +36,7 @@ var uriTests = []struct {
}
func TestParseConfig(t *testing.T) {
for i, test := range uriTests {
for i, test := range configTests {
cfg, err := ParseConfig(test.s)
if err != nil {
t.Errorf("test %d failed: %v", i, err)