make environment variable interpolation preprocessor optional (#1715)
This commit is contained in:
		| @@ -4,6 +4,7 @@ import ( | ||||
| 	"reflect" | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/micro/go-micro/v2/config/reader" | ||||
| 	"github.com/micro/go-micro/v2/config/source" | ||||
| ) | ||||
|  | ||||
| @@ -32,7 +33,7 @@ func TestValues(t *testing.T) { | ||||
| 	for idx, test := range testData { | ||||
| 		values, err := newValues(&source.ChangeSet{ | ||||
| 			Data: test.csdata, | ||||
| 		}) | ||||
| 		}, reader.Options{}) | ||||
| 		if err != nil { | ||||
| 			t.Fatal(err) | ||||
| 		} | ||||
| @@ -69,7 +70,7 @@ func TestStructArray(t *testing.T) { | ||||
| 	for idx, test := range testData { | ||||
| 		values, err := newValues(&source.ChangeSet{ | ||||
| 			Data: test.csdata, | ||||
| 		}) | ||||
| 		}, reader.Options{}) | ||||
| 		if err != nil { | ||||
| 			t.Fatal(err) | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user