assertBufferLines method
Implementation
void assertBufferLines(List<String> expected) {
final List<String> actual = lines;
final int maxHeight = math.max(actual.length, expected.length);
final List<String> diffs = _collectLineDiffs(actual, expected, maxHeight);
if (diffs.isNotEmpty) {
throw _buildBufferMismatchError(actual, diffs);
}
}