aboutsummaryrefslogtreecommitdiff
path: root/lib/websocket/client_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/websocket/client_test.go')
-rw-r--r--lib/websocket/client_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/websocket/client_test.go b/lib/websocket/client_test.go
index 091b1aa5..827b3d9c 100644
--- a/lib/websocket/client_test.go
+++ b/lib/websocket/client_test.go
@@ -1,6 +1,6 @@
-// Copyright 2018, Shulhan <ms@kilabit.info>. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
+// SPDX-FileCopyrightText: 2018 M. Shulhan <ms@kilabit.info>
+//
+// SPDX-License-Identifier: BSD-3-Clause
package websocket
@@ -541,7 +541,7 @@ func TestClientFragmentation2(t *testing.T) {
payload: []byte("Shulhan"),
}}
- for x = 0; x < len(frames); x++ {
+ for x = range len(frames) {
req = frames[x].pack()
testClient.Lock()