summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-04-10 00:29:35 -0700
committerbryan newbold <bnewbold@robocracy.org>2023-04-10 00:29:35 -0700
commit9e717955c2c2285a3811d7aee3b944850f38e5d1 (patch)
tree9ef7596e3f0d1c3268660c0be34fffb8804b263a
parent4c51ee2decdd709be9d38806e002d7f69bcd3ebd (diff)
downloadadenosine-9e717955c2c2285a3811d7aee3b944850f38e5d1.tar.gz
adenosine-9e717955c2c2285a3811d7aee3b944850f38e5d1.zip
created_at: relax timestamp test (many flakey tests)
-rw-r--r--adenosine/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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");
}