File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ var _ = Describe("Query", func() {
7777 }
7878}
7979`
80+
8081 server .AppendHandlers (
8182 ghttp .CombineHandlers (
8283 ghttp .VerifyRequest ("POST" , "/" ),
@@ -96,7 +97,7 @@ var _ = Describe("Query", func() {
9697 Expect (err ).ShouldNot (HaveOccurred ())
9798 session .Wait ()
9899 Eventually (session .Err .Contents ()).Should (BeEmpty ())
99- // Eventually(session.Out.Contents()).Should(MatchJSON(responseData))
100+ Eventually (session .Out .Contents ()).Should (MatchJSON (responseData ))
100101 Eventually (session ).Should (gexec .Exit (0 ))
101102 })
102103 })
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ func (l *Logger) FatalOnError(msg string, err error) {
7373 }
7474}
7575
76- // Prettyify accepts a map fo data and pretty prints it.
76+ // Prettyify accepts a map of data and pretty prints it.
7777// It's using json.MarshalIndent and printing with log.Logger.Infoln
78- func (l * Logger ) Prettyify (data ... interface {}) {
78+ func (l * Logger ) Prettyify (data map [ string ] interface {}) {
7979 bytes , err := json .MarshalIndent (data , "" , " " )
8080 if err != nil {
8181 l .error .Fatalln (err )
You can’t perform that action at this time.
0 commit comments