mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
feat: Add Prometheus metrics endpoint
This commit is contained in:
1 parent
ea96858c4a
commit
f14c401f39
25 files changed
+652
-46
No files matched your search
@@ -68,3 +68,10 @@ fn between_infallible() {
|
||||
assert_eq!("\"foo".between_infallible(("\"", "\"")), "\"foo");
|
||||
assert_eq!("foo".between_infallible(("\"", "\"")), "foo");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn constant_time_eq() {
|
||||
assert!(super::constant_time_eq("abc", "abc"));
|
||||
assert!(!super::constant_time_eq("abc", "abz"));
|
||||
assert!(!super::constant_time_eq("abc", "abcd"));
|
||||
}
|
||||
Reference in new issue
Block a user