Fix escSeqRequests that may be null running unit tests.

This commit is contained in:
BDisp
2024-11-04 20:25:04 +00:00
parent da21ef1320
commit 81eb301b56

View File

@@ -364,7 +364,7 @@ public static class EscSeqUtils
else
{
// It's request response that wasn't handled by a valid request terminator
System.Diagnostics.Debug.Assert (escSeqRequests is { Statuses.Count: > 0 });
System.Diagnostics.Debug.Assert (escSeqRequests is null or { Statuses.Count: > 0 });
InvalidRequestTerminator = ToString (cki);
}