diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-23 13:55:34 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-12-23 13:55:34 +0000 |
| commit | 2ce9b2831e3af536f31491344abdf4b897f67a69 (patch) | |
| tree | 7836686c56ed087ac3be533e1e529de668fac406 /grasp-audit/src/result.rs | |
| parent | a996defa7efd75dd9f1bbe921b6f49ac697672a0 (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.rs | 6 |
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 | ||