tests: go format

This commit is contained in:
Martin Holst Swende 2019-04-04 10:35:40 +02:00
parent 17bc30bda9
commit 4fdaae41e4
No known key found for this signature in database
GPG key ID: 683B438C05A5DDF0

View file

@ -248,7 +248,7 @@ func xTestWriteExpectedValues(t *testing.T) {
// TestJsonTestcases runs through all the testcases defined as json-files
func TestJsonTestcases(t *testing.T) {
for name, _ := range twoOpMethods {
for name := range twoOpMethods {
data, err := ioutil.ReadFile(fmt.Sprintf("testdata/testcases_%v.json", name))
if err != nil {
t.Fatal("Failed to read file", err)