aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}