History

Last stretch to fix CI

GPT 5.4 committed 7 months ago

Commit 1be2d4d1 parent 3ec346b3 files · +17 −17Browse files

Showing the changes to gix-diff/tests/diff (1 of 3 files). Show all

Unified · Split

gix-diff/tests/diff/blob/slider.rs+11−11
@@ -182,10 +182,10 @@ mod heuristics { · 181 unmodified lines
182182
183183 insta::assert_snapshot!(util::unidiff(&diff, &input), @r#"
184184 @@ -2,1 +2,1 @@
185− - let x = 1;
186− + let x = 2;
185+ - let x = 1;
186+ + let x = 2;
187187 @@ -4,0 +4,1 @@
188− + println!("done");
188+ + println!("done");
189189 "#);
190190 Ok(())
191191 }
@@ -212,10 +212,10 @@ mod heuristics { · 20 unmodified lines
212212
213213 insta::assert_snapshot!(util::unidiff(&diff, &input), @r#"
214214 @@ -2,1 +2,1 @@
215− - let x = 1;
216− + let x = 2;
215+ - let x = 1;
216+ + let x = 2;
217217 @@ -4,0 +4,1 @@
218− + println!("done");
218+ + println!("done");
219219 "#);
220220 Ok(())
221221 }
@@ -243,7 +243,7 @@ mod heuristics { · 21 unmodified lines
243243
244244 insta::assert_snapshot!(util::unidiff(&diff, &input), @r#"
245245 @@ -4,0 +4,1 @@
246− + println!("world");
246+ + println!("world");
247247 "#);
248248
249249 Ok(())
@@ -311,12 +311,12 @@ mod heuristics { · 61 unmodified lines
311311 let input = blob::InternedInput::new(before, after);
312312 let diff = diff_with_slider_heuristics(blob::Algorithm::Histogram, &input);
313313
314− insta::assert_snapshot!(util::unidiff(&diff, &input), @r"
314+ insta::assert_snapshot!(util::unidiff(&diff, &input), @"
315315 @@ -3,0 +3,1 @@
316− + y: i32,
316+ + y: i32,
317317 @@ -7,1 +8,1 @@
318− - Foo { x: 0 }
319− + Foo { x: 0, y: 0 }
318+ - Foo { x: 0 }
319+ + Foo { x: 0, y: 0 }
320320 ");
321321
322322 Ok(())

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t