Code Review
/
nonrtric
/
rapp
/
ransliceassurance.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improve documentation
[nonrtric/rapp/ransliceassurance.git]
/
smoversion
/
internal
/
restclient
/
client_test.go
diff --git
a/smoversion/internal/restclient/client_test.go
b/smoversion/internal/restclient/client_test.go
index
de66e5d
..
dc83281
100644
(file)
--- a/
smoversion/internal/restclient/client_test.go
+++ b/
smoversion/internal/restclient/client_test.go
@@
-35,7
+35,7
@@
func TestNewRequest(t *testing.T) {
assertions := require.New(t)
bodyBytes, _ := json.Marshal("body")
assertions := require.New(t)
bodyBytes, _ := json.Marshal("body")
- succes
ful
lReq, _ := http.NewRequest(http.MethodGet, "url", bytes.NewReader(bodyBytes))
+ succes
sfu
lReq, _ := http.NewRequest(http.MethodGet, "url", bytes.NewReader(bodyBytes))
type args struct {
method string
type args struct {
method string
@@
-49,13
+49,13
@@
func TestNewRequest(t *testing.T) {
wantErr error
}{
{
wantErr error
}{
{
- name: "succes
ful
l newRequest",
+ name: "succes
sfu
l newRequest",
args: args{
method: http.MethodGet,
path: "url",
payload: "body",
},
args: args{
method: http.MethodGet,
path: "url",
payload: "body",
},
- want: succes
ful
lReq,
+ want: succes
sfu
lReq,
wantErr: nil,
},
{
wantErr: nil,
},
{