Begin updating to new buffer abstraction
This commit is contained in:
parent
601547b83d
commit
a7ec42371c
2 changed files with 75 additions and 31 deletions
|
|
@ -204,8 +204,8 @@ fn main() {
|
|||
let buffer_lines = buffer.text_lines();
|
||||
for (line_i, line) in text.lines().enumerate() {
|
||||
let buffer_line = &buffer_lines[line_i];
|
||||
if buffer_line != line {
|
||||
log::error!("line {}: {:?} != {:?}", line_i, buffer_line, line);
|
||||
if buffer_line.text() != line {
|
||||
log::error!("line {}: {:?} != {:?}", line_i, buffer_line.text(), line);
|
||||
wrong += 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue