Since the strings being compared have a trailing newline, they have effectively been extended by one line since the Differ used to remove trailing newlines before doing the diffing.