Skip to content

Commit d849935

Browse files
committed
Integrate autobahn tests
1 parent 8e3039a commit d849935

7 files changed

+335
-136
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
coverage.html
2+
wstest_reports

opcode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const (
1010
opText
1111
opBinary
1212
// 3 - 7 are reserved for further non-control frames.
13-
opClose opcode = 8 + iota
13+
opClose opcode = 8 + iota - 3
1414
opPing
1515
opPong
1616
// 11-16 are reserved for further control frames.

opcode_string.go

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

statuscode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
StatusProtocolError
2222
StatusUnsupportedData
2323
// 1004 is reserved.
24-
StatusNoStatusRcvd StatusCode = 1005 + iota
24+
StatusNoStatusRcvd StatusCode = 1005 + iota - 4
2525
StatusAbnormalClosure
2626
StatusInvalidFramePayloadData
2727
StatusPolicyViolation

statuscode_string.go

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)