mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-05-06 14:24:15 +02:00
style(deltacomp): gofmt realignment
This commit is contained in:
@@ -83,9 +83,9 @@ func TestApplyDataDiffWithLimit_BoundsCheck(t *testing.T) {
|
|||||||
// which would extend to offset 13 (beyond 10-byte base).
|
// which would extend to offset 13 (beyond 10-byte base).
|
||||||
// Format: matchCount=9 (first is +1), differentCount=6 (is -1 = 5 bytes)
|
// Format: matchCount=9 (first is +1), differentCount=6 (is -1 = 5 bytes)
|
||||||
diff := []byte{
|
diff := []byte{
|
||||||
0x09, // matchCount (first is +1, so offset becomes -1+9=8)
|
0x09, // matchCount (first is +1, so offset becomes -1+9=8)
|
||||||
0x06, // differentCount (6-1=5 different bytes)
|
0x06, // differentCount (6-1=5 different bytes)
|
||||||
0xAA, 0xBB, 0xCC, 0xDD, 0xEE, // 5 patch bytes
|
0xAA, 0xBB, 0xCC, 0xDD, 0xEE, // 5 patch bytes
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Run("within_limit", func(t *testing.T) {
|
t.Run("within_limit", func(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user