We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c84e28 commit eaa6073Copy full SHA for eaa6073
service/api/specs/specversion.go
@@ -16,7 +16,7 @@ var FLAG_V1_0 = flagSpecs[0]
16
var FLAG_V1_1 = flagSpecs[1]
17
var FLAG_V1_2 = flagSpecs[2]
18
19
-var Latest = string(flagSpecs[len(flagSpecs)-1])
+var Latest = flagSpecs[len(flagSpecs)-1]
20
21
// Match returns the spec version if it is valid, otherwise it returns nil
22
func Match(version string) *string {
service/api/specs/splitversionfilter_test.go
@@ -28,7 +28,7 @@ func TestParseAndValidate(t *testing.T) {
28
}
29
30
31
-func TestSplitVersionFilter(t *testing.T) {
+func TestsplitVersionFilter(t *testing.T) {
32
filter := NewSplitVersionFilter()
33
shouldFilter := filter.ShouldFilter(matchers.MatcherTypeBetweenSemver, FLAG_V1_0)
34
if !shouldFilter {
0 commit comments