Skip to content

Commit 0d1b77b

Browse files
Fix typo in the example
1 parent 344d2b1 commit 0d1b77b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/postman/postman_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ func TestRequest(t *testing.T) {
117117

118118
// TestVariable tests request to postman-echo with variable.
119119
//
120-
// Set env: go test -run Request -env postman
121-
// Set env for the future request too: go test -run Request -setenv postman
120+
// Set env: go test -run Variable -env postman
121+
// Set env for the future request too: go test -run Variable -setenv postman
122122
func TestVariable(t *testing.T) {
123123
gm := gostman.New(t)
124124

125-
// go test -run Request/Authorization -env postman
125+
// go test -run Variable/Authorization -env postman
126126
gm.GET("Authorization", "https://postman-echo.com/basic-auth", func(r *gostman.Request) {
127127
r.Authorization(gostman.AuthBasic(
128128
gm.V("username"),

0 commit comments

Comments
 (0)