diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-27 05:30:26 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-27 05:30:26 -0500 |
commit | cd60a3bec773f0f474a504cf67547918c26942ad (patch) | |
tree | 572876a65f1aed8b99a008640437b6d89d8150a3 /feed | |
parent | 92c3256b7127b7a494d6f11a94e0ffebc0fc85a5 (diff) | |
download | cvez-cd60a3bec773f0f474a504cf67547918c26942ad.tar.bz2 cvez-cd60a3bec773f0f474a504cf67547918c26942ad.zip |
feed/v3version_test.go: add 3.0 tests
Diffstat (limited to 'feed')
-rw-r--r-- | feed/v3version_test.go | 2 |
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)" }, |