File: remove-unic-emoji-char.patch

package info (click to toggle)
rust-textwrap 0.16.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 400 kB
  • sloc: makefile: 2
file content (32 lines) | stat: -rw-r--r-- 614 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
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -84,9 +84,6 @@
 version = "0.2.0"
 optional = true
 
-[dev-dependencies.unic-emoji-char]
-version = "0.9.0"
-
 [dev-dependencies.version-sync]
 version = "0.9.5"
 
--- a/src/core.rs
+++ b/src/core.rs
@@ -382,7 +382,7 @@
         assert_eq!(chars.next(), Some('H'));
     }
 
-    #[test]
+    /*#[test]
     fn emojis_have_correct_width() {
         use unic_emoji_char::is_emoji;
 
@@ -421,7 +421,7 @@
 
         // The remaining planes contain almost no assigned code points
         // and thus also no emojis.
-    }
+    }*/
 
     #[test]
     fn display_width_works() {