File: 2006_no_doc_test.patch

package info (click to toggle)
cyme 2.2.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,404 kB
  • sloc: makefile: 147; sh: 51
file content (22 lines) | stat: -rw-r--r-- 717 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
Description: avoid test against stripped-from-source doc/ file
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-01-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/config.rs
+++ b/src/config.rs
@@ -250,13 +250,6 @@
     use super::*;
 
     #[test]
-    #[cfg(feature = "regex_icon")]
-    fn test_deserialize_example_file() {
-        let path = PathBuf::from("./doc").join("cyme_example_config.json");
-        assert!(Config::from_file(path).is_ok());
-    }
-
-    #[test]
     fn test_deserialize_config_no_theme() {
         let path = PathBuf::from("./tests/data").join("config_no_theme.json");
         assert!(Config::from_file(path).is_ok());