aboutsummaryrefslogtreecommitdiff
path: root/connection_handler_test.go
diff options
context:
space:
mode:
authorVaiTon2023-04-29 15:15:10 +0000
committerVaiTon2023-04-29 15:15:10 +0000
commitb2632528a8a74505fc399e30df2ce6f5fe89363b (patch)
treee3b8f326b411e7b13c9af8d0f4a02475e475781e /connection_handler_test.go
parentc5b25cab8d38177140713306273e120c91c44510 (diff)
Add delete button to rules pane.
Format go files via `go fmt`.
Diffstat (limited to 'connection_handler_test.go')
-rw-r--r--connection_handler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/connection_handler_test.go b/connection_handler_test.go
index d980041..3f959c7 100644
--- a/connection_handler_test.go
+++ b/connection_handler_test.go
@@ -174,9 +174,9 @@ func TestConnectionFactory(t *testing.T) {
timeout := time.Tick(10 * time.Second)
for i := 0; i < n; i++ {
select {
- case <- completed:
+ case <-completed:
continue
- case <- timeout:
+ case <-timeout:
t.Fatal("timeout")
}
}