Skip to content

Commit a1e7b13

Browse files
authored
Merge pull request ethereum#342 from etclabscore/docs/fix-example-typo
ethclient: fix missing doublequote in example
2 parents 8e8411c + 6a65de1 commit a1e7b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethclient/docsgen_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func TestRPCDiscover_BuildStatic(t *testing.T) {
145145
paramNames = strings.Join(out, ", ")
146146
}
147147

148-
return fmt.Sprintf(`curl -X POST http://localhost:8545 --data '{"jsonrpc": "2.0", id": 42, "method": "%s", "params": [%s]}'`, *m.Name, paramNames)
148+
return fmt.Sprintf(`curl -X POST http://localhost:8545 --data '{"jsonrpc": "2.0", "id": 42, "method": "%s", "params": [%s]}'`, *m.Name, paramNames)
149149
},
150150
})
151151

0 commit comments

Comments
 (0)