]> git.scottworley.com Git - reliable-chat/blobdiff - server/server.go
Switch to using defer to clean up after tests
[reliable-chat] / server / server.go
index 74e116f610d5b5fbe8f620d68be3149bb188308f..0c40784ed7b4efb657bd55b798c58f0366991a2b 100644 (file)
@@ -154,7 +154,7 @@ func start_server(store Store) {
        })
 
        http.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) {
        })
 
        http.HandleFunc("/robots.txt", func(w http.ResponseWriter, r *http.Request) {
-               w.Write([]byte(robots_txt));
+               w.Write([]byte(robots_txt))
        })
 
        log.Fatal(http.ListenAndServe(*localaddress+":"+strconv.Itoa(*port), nil))
        })
 
        log.Fatal(http.ListenAndServe(*localaddress+":"+strconv.Itoa(*port), nil))