We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce5d79c commit 3868767Copy full SHA for 3868767
gix-actor/tests/signature/mod.rs
@@ -105,3 +105,14 @@ fn parse_timestamp_with_trailing_digits() {
105
}
106
);
107
108
+
109
+#[test]
110
+fn parse_missing_timestamp() {
111
+ assert_eq!(
112
+ format!(
113
+ "{:?}",
114
+ gix_actor::SignatureRef::from_bytes::<()>(b"first last <[email protected]>")
115
+ ),
116
+ "Err(Backtrack(()))".to_string()
117
+ );
118
+}
0 commit comments