aboutsummaryrefslogtreecommitdiff
path: root/dbstore/cpesearchtype_test.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-17 23:20:53 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-17 23:20:53 -0500
commit9318627ab8acabed69d525f7b45f5f3d54c2e673 (patch)
tree4867bce15fb48879d0054acf7d9cb0b9dc884106 /dbstore/cpesearchtype_test.go
parent42446fcdcf9d752201414afc7e5c7bcb2fb2ee6e (diff)
downloadcvez-9318627ab8acabed69d525f7b45f5f3d54c2e673.tar.bz2
cvez-9318627ab8acabed69d525f7b45f5f3d54c2e673.zip
dbstore/cpesearch*: refactor search queries
Diffstat (limited to 'dbstore/cpesearchtype_test.go')
-rw-r--r--dbstore/cpesearchtype_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbstore/cpesearchtype_test.go b/dbstore/cpesearchtype_test.go
index 1421d3c..255b311 100644
--- a/dbstore/cpesearchtype_test.go
+++ b/dbstore/cpesearchtype_test.go
@@ -7,9 +7,9 @@ func TestCpeSearchTypeString(t *testing.T) {
val CpeSearchType
exp string
} {
- { CpeSearchAll, "cpe-search-all" },
- { CpeSearchTitle, "cpe-search-title" },
- { CpeSearchRef, "cpe-search-ref" },
+ { CpeSearchAll, "cpe/search-all" },
+ { CpeSearchTitle, "cpe/search-title" },
+ { CpeSearchRef, "cpe/search-ref" },
{ CpeSearchType(255), "CpeSearchType(255)" },
}