File: remove-rspec.patch

package info (click to toggle)
rust-colored 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 428 kB
  • sloc: makefile: 2
file content (42 lines) | stat: -rw-r--r-- 590 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
36
37
38
39
40
41
42
Description: Remove rspec dev-dependency

--- a/Cargo.toml
+++ b/Cargo.toml
@@ -72,8 +72,6 @@
 [dev-dependencies.insta]
 version = "1"
 
-[dev-dependencies.rspec]
-version = "1"
 
 [features]
 no-color = []
--- a/src/control.rs
+++ b/src/control.rs
@@ -158,7 +158,8 @@
     }
 }
 
-#[cfg(test)]
+/*#[cfg(test)]
+
 mod specs {
     use super::*;
     use rspec;
@@ -386,4 +387,4 @@
             });
         }));
     }
-}
+}*/
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -29,8 +29,6 @@
 //! modify them.
 #![warn(missing_docs)]
 
-#[cfg(test)]
-extern crate rspec;
 
 mod color;
 pub mod control;