diff options
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 | ||