aboutsummaryrefslogtreecommitdiff
path: root/cisa/catalog_test.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-03-15 00:17:07 -0400
committerPaul Duncan <pabs@pablotron.org>2022-03-15 00:17:07 -0400
commita00d4d0fd4c7e9b4e5ecf97e3bb978f680541dba (patch)
treefe3f149cb41b456ead3db929f1b18c54edb1777f /cisa/catalog_test.go
parent3c678605abb7003085652cc2008dd8cbd4e3eec2 (diff)
downloadcvez-a00d4d0fd4c7e9b4e5ecf97e3bb978f680541dba.tar.bz2
cvez-a00d4d0fd4c7e9b4e5ecf97e3bb978f680541dba.zip
move cisa/date.go to rfc3339/date.go
Diffstat (limited to 'cisa/catalog_test.go')
-rw-r--r--cisa/catalog_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cisa/catalog_test.go b/cisa/catalog_test.go
index b86d21c..1e4ba7e 100644
--- a/cisa/catalog_test.go
+++ b/cisa/catalog_test.go
@@ -4,6 +4,7 @@ import (
"compress/gzip"
"encoding/json"
"github.com/pablotron/cvez/feed"
+ "github.com/pablotron/cvez/rfc3339"
"os"
"reflect"
"testing"
@@ -13,7 +14,7 @@ import (
// catalog test data
type catalogTestData struct {
CveIds map[string]feed.CveId `json:"cves"`
- Dates map[string]Date `json:"dates"`
+ Dates map[string]rfc3339.Date `json:"dates"`
Times map[string]time.Time `json:"times"`
}