Skip to content

Commit a70c676

Browse files
committed
Fix format error in lated go version
1 parent a498c02 commit a70c676

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ go:
55
- 1.4
66
- 1.5
77
- 1.6
8+
- 1.7
9+
- 1.8
10+
- 1.9
11+
- '1.0'
12+
- 1.11
13+
- 1.12
14+
- 1.13
15+
- tip
816

917
install: go get
1018

scgi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func (s *Server) handleScgiRequest(fd io.ReadWriteCloser) {
143143
defer fd.Close()
144144
req, err := s.readScgiRequest(fd)
145145
if err != nil {
146-
s.Logger.Println("Error reading SCGI request: %q", err.Error())
146+
s.Logger.Printf("Error reading SCGI request: %q\n", err.Error())
147147
return
148148
}
149149
sc := scgiConn{fd, req, make(map[string][]string), false}

web_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ func TestReadScgiRequest(t *testing.T) {
461461
var s Server
462462
httpReq, err := s.readScgiRequest(&ioBuffer{input: req, output: nil})
463463
if err != nil {
464-
t.Fatalf("Error while reading SCGI request: ", err.Error())
464+
t.Fatalf("Error while reading SCGI request: %s", err.Error())
465465
}
466466
if httpReq.ContentLength != 12 {
467467
t.Fatalf("Content length mismatch, expected %d, got %d ", 12, httpReq.ContentLength)

0 commit comments

Comments
 (0)