mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Replace other test_reporting tests with snapshots
This commit is contained in:
parent
375b3e064a
commit
b490a1fdf8
2 changed files with 6582 additions and 7655 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue