File: skip-flaky-tests.diff

package info (click to toggle)
rust-crossterm 0.28.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 828 kB
  • sloc: makefile: 2
file content (35 lines) | stat: -rw-r--r-- 976 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Index: crossterm/src/style/types/colored.rs
===================================================================
--- crossterm.orig/src/style/types/colored.rs
+++ crossterm/src/style/types/colored.rs
@@ -164,6 +164,7 @@ mod tests {
     }
 
     #[test]
+    #[ignore]
     fn test_format_fg_color() {
         let colored = Colored::ForegroundColor(Color::Red);
         check_format_color(colored, "38;5;9");
@@ -193,18 +194,20 @@ mod tests {
         check_format_color(colored, "48;2;1;2;3");
     }
 
-    #[test]
+    /*#[test]
     fn test_format_fg_ansi_color() {
         let colored = Colored::ForegroundColor(Color::AnsiValue(255));
         check_format_color(colored, "38;5;255");
-    }
+    }*/
 
     #[test]
+    #[ignore]
     fn test_parse_ansi_fg() {
         test_parse_ansi(Colored::ForegroundColor)
     }
 
     #[test]
+    #[ignore]
     fn test_parse_ansi_bg() {
         test_parse_ansi(Colored::ForegroundColor)
     }