Replace other test_reporting tests with snapshots

This commit is contained in:
ayazhafiz 2022-07-03 14:19:57 -04:00
parent 375b3e064a
commit b490a1fdf8
No known key found for this signature in database
GPG key ID: B443F7A3030C9AED
2 changed files with 6582 additions and 7655 deletions

View file

@ -650,7 +650,7 @@ impl<'a> RocDocAllocator<'a> {
let line_number = line_number_string;
let this_line_number_length = line_number.len();
let line = self.src_lines[i as usize];
let line: &str = self.src_lines.get(i as usize).unwrap_or(&"");
let rest_of_line = if !line.trim().is_empty() {
self.text(line)

File diff suppressed because it is too large Load diff