summaryrefslogtreecommitdiff
path: root/tests/tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.rs')
-rw-r--r--tests/tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tests.rs b/tests/tests.rs
index ecf7ccb..a814899 100644
--- a/tests/tests.rs
+++ b/tests/tests.rs
@@ -1535,3 +1535,9 @@ fn no_space_before_pm() {
}
}
}
+
+#[test]
+fn relative_time_regression() {
+ parse("24", None).unwrap();
+ assert!(true, "'24' didn't cause a panic");
+} \ No newline at end of file