MsgUtils.

ClipExpectedAndActual(string, string, int, int) Method

Summary

Clip the expected and actual strings in a coordinated fashion, so that they may be displayed together.
Namespace
TCLite.Constraints
Containing Type
MsgUtils

Syntax

public static void ClipExpectedAndActual(ref string expected, ref string actual, int maxDisplayLength, int mismatch)

Parameters

Name Type Description
expected string
actual string
maxDisplayLength int
mismatch int

Return Value

Type Description
void