Merge pull request #494 from sparkprime/fixes

Fix unused struct and bad log output
pull/499/head
Jack Greenfield 9 years ago
commit 955d13a059

@ -31,13 +31,6 @@ import (
var expanderName = "../../../expansion/expansion.py"
type testCase struct {
Description string
Request *expansion.ServiceRequest
ExpectedResponse *expansion.ServiceResponse
ExpectedError string
}
// content provides an easy way to provide file content verbatim in tests.
func content(lines []string) []byte {
return []byte(strings.Join(lines, "\n") + "\n")

@ -40,6 +40,6 @@ func main() {
backend := expander.NewExpander(*expansionBinary)
service := expansion.NewService(*address, *port, backend)
log.Printf("Version: %s", version.Version)
log.Printf("Listening on http://%s:%s/expand", *address, port)
log.Printf("Listening on http://%s:%d/expand", *address, *port)
log.Fatal(service.ListenAndServe())
}

Loading…
Cancel
Save