Skip to content

Commit

Permalink
add diff test
Browse files Browse the repository at this point in the history
  • Loading branch information
acarioni committed Oct 13, 2022
1 parent c89764c commit b52bffb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/LightstreamerClientTests/DiffPatchTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ final class DiffPatchTests: BaseTestCase {
], "61 - Cannot set the field 1 because the first update is a TLCP-diff")
}

func _testBadDiff_OutOfRange() {
func testBadDiff_OutOfRange() {
errorTemplate([
"foo",
"^Tz", // copy(25)
], "61 - Bad TLCP-diff")
], "61 - Bad TLCP-diff: Index out of range: startIndex=Index(_rawBits: 1) count=25 length=3")
}

func testBadDiff_InvalidChar() {
Expand Down

0 comments on commit b52bffb

Please sign in to comment.