From b52bffb9249d3ce1229902e2ed1ae0fd68b85313 Mon Sep 17 00:00:00 2001 From: acarioni Date: Thu, 13 Oct 2022 10:47:08 +0200 Subject: [PATCH] add diff test --- Tests/LightstreamerClientTests/DiffPatchTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/LightstreamerClientTests/DiffPatchTests.swift b/Tests/LightstreamerClientTests/DiffPatchTests.swift index f25aa3c..a2d0413 100644 --- a/Tests/LightstreamerClientTests/DiffPatchTests.swift +++ b/Tests/LightstreamerClientTests/DiffPatchTests.swift @@ -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() {