From 9e717955c2c2285a3811d7aee3b944850f38e5d1 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 10 Apr 2023 00:29:35 -0700 Subject: created_at: relax timestamp test (many flakey tests) --- adenosine/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adenosine/src/lib.rs b/adenosine/src/lib.rs index 06e3174..b5e1a50 100644 --- a/adenosine/src/lib.rs +++ b/adenosine/src/lib.rs @@ -36,5 +36,5 @@ fn test_created_at_now() { assert_eq!(&ts[4..5], "-"); assert_eq!(&ts[7..8], "-"); assert_eq!(&ts[10..11], "T"); - assert_eq!(&ts[23..24], "Z"); + assert_eq!(&ts[ts.len()-1..ts.len()], "Z"); } -- cgit v1.2.3