diff --git a/impl/worker/worker.go b/impl/worker/worker.go index 3e5ee1f..c2aa3ca 100644 --- a/impl/worker/worker.go +++ b/impl/worker/worker.go @@ -8,7 +8,6 @@ import ( "go/token" "io" "strings" - "os" ) const ( @@ -75,7 +74,7 @@ func (w *Worker) Start() error { } } // Print the AST. - ast.Fprint(os.Stderr, fset, file, nil) + // ast.Fprint(os.Stderr, fset, file, nil) return nil } diff --git a/impl/worker/worker_test.go b/impl/worker/worker_test.go index f060bc3..9294e74 100644 --- a/impl/worker/worker_test.go +++ b/impl/worker/worker_test.go @@ -457,11 +457,9 @@ func Test_WiFiWebClient(t *testing.T) { serial.Print(" ...") if (client.Connect(host, 443)) { serial.Println(" Connected!") - return nil } else { serial.Println(" Failed!") } - return nil } ` expected := `#include @@ -471,7 +469,7 @@ func Test_WiFiWebClient(t *testing.T) { Serial.print("Connecting to"); Serial.println(host); Serial.print(" ..."); - if(client.connect(host, 443){ + if(client.connect(host, 443)){ Serial.println(" Connected!"); } else { Serial.println(" Failed!");