Skip to content

Commit 6ffdd55

Browse files
gix dev folder too
1 parent 0fa8f4a commit 6ffdd55

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

dev/go.mod

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
module github.com/aspose-words-cloud/aspose-words-cloud-go/dev
22

3-
go 1.13
3+
go 1.18
44

55
require (
66
github.com/stretchr/testify v1.5.1
77
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
88
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6
99
)
10+
11+
require (
12+
github.com/davecgh/go-spew v1.1.0 // indirect
13+
github.com/golang/protobuf v1.2.0 // indirect
14+
github.com/pmezard/go-difflib v1.0.0 // indirect
15+
google.golang.org/appengine v1.4.0 // indirect
16+
gopkg.in/yaml.v2 v2.2.2 // indirect
17+
)

dev/tests/base_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,8 @@ func TestDebugMode(t *testing.T) {
196196
}()
197197

198198
request := &models.CreateDocumentRequest{
199-
Optionals: map[string]interface{}{
200-
"fileName": "test.docx",
201-
},
199+
FileName: ToStringPointer("test.docx"),
200+
Optionals: map[string]interface{}{},
202201
}
203202

204203
_, _, err := client.WordsApi.CreateDocument(ctx, request)

0 commit comments

Comments
 (0)