diff options
author | dfhoughton <dfhoughton@gmail.com> | 2020-01-04 16:32:48 -0500 |
---|---|---|
committer | dfhoughton <dfhoughton@gmail.com> | 2020-01-04 16:32:48 -0500 |
commit | b41efb6ccc6174b6c0d2cd05f2b42c1ce8b653e8 (patch) | |
tree | 603deca9cfe58393c41fc5693f24bc1381bab8c7 /tests/tests.rs | |
parent | 15fe9df0aac52e46ee07d9f0bf5f2342b0dc1924 (diff) | |
download | two-timer-b41efb6ccc6174b6c0d2cd05f2b42c1ce8b653e8.zip |
fixed panic
Diffstat (limited to 'tests/tests.rs')
-rw-r--r-- | tests/tests.rs | 6 |
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 |