mirror of
https://github.com/ProjectSWGCore/pswgcommon.git
synced 2026-01-17 00:04:25 -05:00
Fixed test encode in TestCustomizationString
This commit is contained in:
@@ -63,7 +63,7 @@ class TestCustomizationString {
|
||||
val string = CustomizationString()
|
||||
string.put("/private/index_color_1", 237)
|
||||
string.put("/private/index_color_2", 4)
|
||||
val expected = byteArrayOf(10, 0, 2, 2, 2, -61, -83, 1, 4, -61, -65, 3)
|
||||
val expected = byteArrayOf(10, 0, 2, 2, (2 or 0x80).toByte(), 237.toByte(), 255.toByte(), 1, 1, 4, 255.toByte(), 3)
|
||||
|
||||
val actual = string.encode()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user