| Copyright 2023 The Go Authors. All rights reserved. |
| Use of this source code is governed by a BSD-style |
| license that can be found in the LICENSE file. |
| |
| Test: TestLintOffline/versions_checked_no_vulnerable_at |
| Description: Version checks still apply if vulnerable_at is not set. |
| |
| -- data/reports/GO-0000-0000.yaml -- |
| id: GO-0000-0000 |
| modules: |
| - module: std |
| versions: |
| - fixed: 1.2.1 |
| - fixed: 1.3.2 |
| packages: |
| - package: net/http |
| summary: A summary of the problem with net/http |
| description: description |
| references: |
| - fix: https://go.dev/cl/12345 |
| - web: https://groups.google.com/g/golang-announce/c/12345 |
| - report: https://go.dev/issue/12345 |
| |
| -- golden -- |
| modules[0] "std": packages[0] "net/http": at least one of vulnerable_at and skip_fix must be set |
| modules[0] "std": versions: introduced and fixed versions must alternate |