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

package info (click to toggle)
rust-debian-changelog 0.2.14-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 580 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
Index: debian-changelog/src/parse.rs
===================================================================
--- debian-changelog.orig/src/parse.rs
+++ debian-changelog/src/parse.rs
@@ -3567,6 +3567,7 @@ breezy (3.3.3-1) unstable; urgency=low
     }
 
     #[test]
+    #[cfg(feature = "chrono")]
     fn test_datetime_with_incorrect_day_of_week() {
         // Test for bug: datetime() should parse leniently even when day-of-week doesn't match
         // This changelog entry has "Mon, 22 Mar 2011" but Mar 22, 2011 was actually Tuesday