Skip to content

Commit

Permalink
fix ui tests broken by zenburn theme update
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Mar 24, 2024
1 parent 318630c commit 7c9a091
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
30 changes: 15 additions & 15 deletions testdata/syntect/list_themes_background.out
Original file line number Diff line number Diff line change
Expand Up @@ -539,20 +539,20 @@
───┴────────────────────────────────────────────────────────────────────────────

"zenburn"
Foreground:   Background:  
Foreground:   Background:  
MatchLineBG:   MatchLineNum:  
MatchRegionFG:   MatchRegionBG:  
GutterFG:  

────────────────────────────────────────────────────────────────────────────────
 sample.rs 
───┬────────────────────────────────────────────────────────────────────────────
 1 │ // Parse input as float number and print sqrt of it 
 2 │ fn print_sqrt<S: AsRef<str>>(input: S) { 
 3 │  let result = input.as_ref().parse::<f64>(); 
 4 │  if let Ok(f) = result { 
 5 │  println!("sqrt of {:.2} is {:.2}", f, f.sqrt()); 
 6 │  } 
 7 │ } 
───┴────────────────────────────────────────────────────────────────────────────
MatchRegionFG:   MatchRegionBG:  
GutterFG:  

────────────────────────────────────────────────────────────────────────────────
 sample.rs 
───┬────────────────────────────────────────────────────────────────────────────
 1 │ // Parse input as float number and print sqrt of it 
 2 │ fn print_sqrt<S: AsRef<str>>(input: S) { 
 3 │  let result = input.as_ref().parse::<f64>(); 
 4 │  if let Ok(f) = result { 
 5 │  println!("sqrt of {:.2} is {:.2}", f, f.sqrt()); 
 6 │  } 
 7 │ } 
───┴────────────────────────────────────────────────────────────────────────────

26 changes: 13 additions & 13 deletions testdata/syntect/list_themes_default.out
Original file line number Diff line number Diff line change
Expand Up @@ -539,20 +539,20 @@
───┴────────────────────────────────────────────────────────────────────────────

"zenburn"
Foreground:   Background:  
Foreground:   Background:  
MatchLineBG:   MatchLineNum:  
MatchRegionFG:   MatchRegionBG:  
GutterFG:  
MatchRegionFG:   MatchRegionBG:  
GutterFG:  

────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────
 sample.rs
───┬────────────────────────────────────────────────────────────────────────────
 1 │ // Parse input as float number and print sqrt of it
 2 │ fn print_sqrt<S: AsRef<str>>(input: S) {
 3 │  let result = input.as_ref().parse::<f64>(); 
 4 │  if let Ok(f) = result { 
 5 │  println!("sqrt of {:.2} is {:.2}", f, f.sqrt());
 6 │  }
 7 │ }
───┴────────────────────────────────────────────────────────────────────────────
───┬────────────────────────────────────────────────────────────────────────────
 1 │ // Parse input as float number and print sqrt of it
 2 │ fn print_sqrt<S: AsRef<str>>(input: S) {
 3 │  let result = input.as_ref().parse::<f64>(); 
 4 │  if let Ok(f) = result { 
 5 │  println!("sqrt of {:.2} is {:.2}", f, f.sqrt());
 6 │  }
 7 │ }
───┴────────────────────────────────────────────────────────────────────────────

22 changes: 11 additions & 11 deletions testdata/syntect/list_themes_no_grid.out
Original file line number Diff line number Diff line change
Expand Up @@ -479,18 +479,18 @@
 7 }

"zenburn"
Foreground:   Background:  
Foreground:   Background:  
MatchLineBG:   MatchLineNum:  
MatchRegionFG:   MatchRegionBG:  
GutterFG:  
MatchRegionFG:   MatchRegionBG:  
GutterFG:  

────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────
 sample.rs
 1 // Parse input as float number and print sqrt of it
 2 fn print_sqrt<S: AsRef<str>>(input: S) {
 3  let result = input.as_ref().parse::<f64>(); 
 4  if let Ok(f) = result { 
 5  println!("sqrt of {:.2} is {:.2}", f, f.sqrt());
 6  }
 7 }
 1 // Parse input as float number and print sqrt of it
 2 fn print_sqrt<S: AsRef<str>>(input: S) {
 3  let result = input.as_ref().parse::<f64>(); 
 4  if let Ok(f) = result { 
 5  println!("sqrt of {:.2} is {:.2}", f, f.sqrt());
 6  }
 7 }

0 comments on commit 7c9a091

Please sign in to comment.