From a0e6f2943ab04966b1d0c5e96420a4a703588143 Mon Sep 17 00:00:00 2001 From: Pablo Ovelleiro Corral Date: Fri, 19 Apr 2019 11:18:02 +0200 Subject: [PATCH] comment out tests --- listener_test.go | 58 ++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/listener_test.go b/listener_test.go index 043acde..828dad5 100644 --- a/listener_test.go +++ b/listener_test.go @@ -5,36 +5,36 @@ import ( "testing" ) -func Test_setupListener(t *testing.T) { - tests := []struct { - name string - }{ - // TODO: Add test cases. - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - setupListener() - }) - } -} +// func Test_setupListener(t *testing.T) { +// tests := []struct { +// name string +// }{ +// // TODO: Add test cases. +// } +// for _, tt := range tests { +// t.Run(tt.name, func(t *testing.T) { +// setupListener() +// }) +// } +// } -func TestPostHandler(t *testing.T) { - type args struct { - w http.ResponseWriter - r *http.Request - } - tests := []struct { - name string - args args - }{ - // TODO: Add test cases. - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - PostHandler(tt.args.w, tt.args.r) - }) - } -} +// func TestPostHandler(t *testing.T) { +// type args struct { +// w http.ResponseWriter +// r *http.Request +// } +// tests := []struct { +// name string +// args args +// }{ +// // TODO: Add test cases. +// } +// for _, tt := range tests { +// t.Run(tt.name, func(t *testing.T) { +// PostHandler(tt.args.w, tt.args.r) +// }) +// } +// } func Test_generateMessage(t *testing.T) { type args struct {