update package name (#1267)

This commit is contained in:
Dmitry Shmulevich 2021-11-02 15:47:07 -07:00 committed by GitHub
parent 1d0ce9ce23
commit ad9ebba204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@ package cosmosdb
import (
"encoding/json"
"os"
"io/ioutil"
"testing"
"github.com/a8m/documentdb"
@ -119,7 +119,7 @@ func TestCosmosDbQuery(t *testing.T) {
},
}
for _, test := range tests {
data, err := os.ReadFile(test.input)
data, err := ioutil.ReadFile(test.input)
assert.NoError(t, err)
var qq query.Query
err = json.Unmarshal(data, &qq)

View File

@ -7,7 +7,7 @@ package mongodb
import (
"encoding/json"
"os"
"io/ioutil"
"testing"
"github.com/stretchr/testify/assert"
@ -38,7 +38,7 @@ func TestMongoQuery(t *testing.T) {
},
}
for _, test := range tests {
data, err := os.ReadFile(test.input)
data, err := ioutil.ReadFile(test.input)
assert.NoError(t, err)
var qq query.Query
err = json.Unmarshal(data, &qq)

View File

@ -7,7 +7,7 @@ package query
import (
"encoding/json"
"os"
"io/ioutil"
"testing"
"github.com/stretchr/testify/assert"
@ -77,7 +77,7 @@ func TestQuery(t *testing.T) {
},
}
for _, test := range tests {
data, err := os.ReadFile(test.input)
data, err := ioutil.ReadFile(test.input)
assert.NoError(t, err)
var q Query
err = json.Unmarshal(data, &q)