THRIFT-3391 Wrong bool formatting in test server Client: Go Patch: Jens Geyer
diff --git a/test/go/src/common/printing_handler.go b/test/go/src/common/printing_handler.go
index bc308b6..5fe3d53 100644
--- a/test/go/src/common/printing_handler.go
+++ b/test/go/src/common/printing_handler.go
@@ -48,14 +48,14 @@
return thing, nil
}
-// Prints 'testBool("%d")' with thing as 'true' or 'false'
+// Prints 'testBool("%t")' with thing as 'true' or 'false'
// @param bool thing - the bool to print
// @return bool - returns the bool 'thing'
//
// Parameters:
// - Thing
func (p *printingHandler) TestBool(thing bool) (r bool, err error) {
- fmt.Printf("testBool(%d)\n", thing)
+ fmt.Printf("testBool(%t)\n", thing)
return thing, nil
}