File: fix-tests-no-default-features.patch

package info (click to toggle)
rust-numbat 1.11.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 996 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
Index: numbat/tests/prelude_and_examples.rs
===================================================================
--- numbat.orig/tests/prelude_and_examples.rs
+++ numbat/tests/prelude_and_examples.rs
@@ -73,6 +73,7 @@ fn run_for_each_file(glob_pattern: &str,
 }
 
 #[test]
+#[cfg(feature = "fetch-exchangerates")]
 fn modules_are_self_consistent() {
     run_for_each_file("modules/**/*.nbt", assert_runs_without_prelude);
 }