Codebase list rust-stfu8 / 6023d63
improve the syntect patch Sylvestre Ledru 1 year, 10 months ago
1 changed file(s) with 14 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
212212
213213 #[test]
214214 fn can_parse_yaml() {
215 @@ -884,7 +884,7 @@ mod tests {
216 assert_eq!(ops(&mut state, "struct{estruct", &ss).len(), 10);
217 }
218
219 - #[test]
220 + /*#[test]
221 fn can_compare_parse_states() {
222 let ss = SyntaxSet::load_from_folder("testdata/Packages").unwrap();
223 let syntax = ss.find_syntax_by_name("Java").unwrap();
215224 @@ -897,9 +897,9 @@ mod tests {
216225 assert_eq!(state1, state2);
217226 ops(&mut state1, "}", &ss);
310319 ===================================================================
311320 --- syntect.orig/src/highlighting/theme_set.rs
312321 +++ syntect/src/highlighting/theme_set.rs
313 @@ -74,7 +74,7 @@ impl ThemeSet {
322 @@ -73,7 +73,7 @@ impl ThemeSet {
323 #[cfg(test)]
314324 mod tests {
315325 use crate::highlighting::{ThemeSet, Color};
316 #[cfg(feature = "plist-load")]
317 - #[test]
318 + /*#[test]
326 - #[cfg(feature = "plist-load")]
327 + /*#[cfg(feature = "plist-load")]
328 #[test]
319329 fn can_parse_common_themes() {
320330 let themes = ThemeSet::load_from_folder("testdata").unwrap();
321 let all_themes: Vec<&str> = themes.themes.keys().map(|x| &**x).collect();
322331 @@ -99,5 +99,5 @@ mod tests {
323332 a: 0xFF,
324333 });