Skip to content

Commit ca0c7f6

Browse files
committed
tests: added test for Body() methods of requests using golden files
1 parent fba773c commit ca0c7f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+566
-1
lines changed

golden_test.go

Lines changed: 534 additions & 0 deletions
Large diffs are not rendered by default.

request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import (
99

1010
"github.com/stretchr/testify/assert"
1111
"github.com/stretchr/testify/require"
12+
"github.com/tarantool/go-iproto"
1213
"github.com/vmihailenco/msgpack/v5"
1314

14-
"github.com/tarantool/go-iproto"
1515
. "github.com/tarantool/go-tarantool/v2"
1616
)
1717

Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�Ya�
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�Y

testdata/requests/begin.msgpack

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�"�function.name!�
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�"�function.name!�
58 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�"�function.name!�

0 commit comments

Comments
 (0)