upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/grasp-audit/src/result.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-23 13:55:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-23 13:55:34 +0000
commit2ce9b2831e3af536f31491344abdf4b897f67a69 (patch)
tree7836686c56ed087ac3be533e1e529de668fac406 /grasp-audit/src/result.rs
parenta996defa7efd75dd9f1bbe921b6f49ac697672a0 (diff)
audit: updated grasp01 line refs to reflect purgatory insertion
Diffstat (limited to 'grasp-audit/src/result.rs')
-rw-r--r--grasp-audit/src/result.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/grasp-audit/src/result.rs b/grasp-audit/src/result.rs
index f296633..4e0e1b1 100644
--- a/grasp-audit/src/result.rs
+++ b/grasp-audit/src/result.rs
@@ -327,15 +327,15 @@ mod tests {
327 #[test] 327 #[test]
328 fn test_parse_spec_lines_single() { 328 fn test_parse_spec_lines_single() {
329 assert_eq!(parse_spec_lines("GRASP-01:nostr-relay:7"), vec![7]); 329 assert_eq!(parse_spec_lines("GRASP-01:nostr-relay:7"), vec![7]);
330 assert_eq!(parse_spec_lines("GRASP-01:git-http:28"), vec![28]); 330 assert_eq!(parse_spec_lines("GRASP-01:git-http:34"), vec![34]);
331 } 331 }
332 332
333 #[test] 333 #[test]
334 fn test_parse_spec_lines_range() { 334 fn test_parse_spec_lines_range() {
335 assert_eq!(parse_spec_lines("GRASP-01:nostr-relay:7-9"), vec![7, 8, 9]); 335 assert_eq!(parse_spec_lines("GRASP-01:nostr-relay:7-9"), vec![7, 8, 9]);
336 assert_eq!( 336 assert_eq!(
337 parse_spec_lines("GRASP-01:cors:44-47"), 337 parse_spec_lines("GRASP-01:cors:50-53"),
338 vec![44, 45, 46, 47] 338 vec![50, 51, 52, 53]
339 ); 339 );
340 } 340 }
341 341