mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 07:32:32 +01:00
style: run gofmt across entire codebase
330 non-vendor files had minor formatting inconsistencies (comment alignment, whitespace). No logic changes.
This commit is contained in:
@@ -154,7 +154,7 @@ func TestBroadcastTypes(t *testing.T) {
|
||||
bf := byteframe.NewByteFrame()
|
||||
bf.SetBE() // Targeted uses BE
|
||||
msg := &binpacket.MsgBinTargeted{
|
||||
TargetCharIDs: []uint32{1, 2, 3},
|
||||
TargetCharIDs: []uint32{1, 2, 3},
|
||||
RawDataPayload: []byte{0xDE, 0xAD, 0xBE, 0xEF},
|
||||
}
|
||||
_ = msg.Build(bf)
|
||||
@@ -218,8 +218,8 @@ func TestBroadcastTypes(t *testing.T) {
|
||||
// TestBinaryMessageTypes verifies different message types are handled
|
||||
func TestBinaryMessageTypes(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
messageType uint8
|
||||
name string
|
||||
messageType uint8
|
||||
buildPayload func() []byte
|
||||
}{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user