aboutsummaryrefslogtreecommitdiff
path: root/feed/v3version_test.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-27 05:30:26 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-27 05:30:26 -0500
commitcd60a3bec773f0f474a504cf67547918c26942ad (patch)
tree572876a65f1aed8b99a008640437b6d89d8150a3 /feed/v3version_test.go
parent92c3256b7127b7a494d6f11a94e0ffebc0fc85a5 (diff)
downloadcvez-cd60a3bec773f0f474a504cf67547918c26942ad.tar.bz2
cvez-cd60a3bec773f0f474a504cf67547918c26942ad.zip
feed/v3version_test.go: add 3.0 tests
Diffstat (limited to 'feed/v3version_test.go')
-rw-r--r--feed/v3version_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/feed/v3version_test.go b/feed/v3version_test.go
index 89cc6ed..1e14f33 100644
--- a/feed/v3version_test.go
+++ b/feed/v3version_test.go
@@ -35,6 +35,7 @@ func TestV3VersionUnmarshalValid(t *testing.T) {
val string
exp V3Version
} {
+ { "\"3.0\"", V30 },
{ "\"3.1\"", V31 },
}
@@ -58,6 +59,7 @@ func TestV3VersionString(t *testing.T) {
val V3Version
exp string
} {
+ { V30, "3.0" },
{ V31, "3.1" },
{ V3Version(255), "V3Version(255)" },