Skip to content

Commit 9d262ca

Browse files
authored
chore: update spec badge, test nums (#103)
Signed-off-by: Todd Baert <[email protected]>
1 parent 7e22f63 commit 9d262ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![a](https://img.shields.io/badge/slack-%40cncf%2Fopenfeature-brightgreen?style=flat&logo=slack)](https://cloud-native.slack.com/archives/C0344AANLA1)
44
[![Go Report Card](https://goreportcard.com/badge/github.com/open-feature/go-sdk)](https://goreportcard.com/report/github.com/open-feature/go-sdk)
55
[![codecov](https://codecov.io/gh/open-feature/go-sdk/branch/main/graph/badge.svg?token=FZ17BHNSU5)](https://codecov.io/gh/open-feature/go-sdk)
6-
[![Specification](https://img.shields.io/static/v1?label=Specification&message=v0.5.0&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.0)
6+
[![v0.5.1](https://img.shields.io/static/v1?label=Specification&message=v0.5.1&color=yellow)](https://github.com/open-feature/spec/tree/v0.5.1)
77

88
This is the Go implementation of [OpenFeature](https://openfeature.dev), a vendor-agnostic abstraction library for evaluating feature flags.
99

pkg/openfeature/provider_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
// The provider interface MUST define a `metadata` member or accessor, containing a `name` field or accessor
1212
// of type string, which identifies the provider implementation.
13-
func TestRequirement_2_1(t *testing.T) {
13+
func TestRequirement_2_1_1(t *testing.T) {
1414
ctrl := gomock.NewController(t)
1515
mockProvider := NewMockFeatureProvider(ctrl)
1616

@@ -37,7 +37,7 @@ func TestRequirement_2_1(t *testing.T) {
3737
// The `feature provider` interface MUST define methods to resolve flag values,
3838
// with parameters `flag key` (string, required), `default value` (boolean | number | string | structure, required)
3939
// and `evaluation context` (optional), which returns a `flag resolution` structure.
40-
func TestRequirement_2_2(t *testing.T) {
40+
func TestRequirement_2_2_1(t *testing.T) {
4141
ctrl := gomock.NewController(t)
4242
mockProvider := NewMockFeatureProvider(ctrl)
4343

@@ -55,7 +55,7 @@ func TestRequirement_2_2(t *testing.T) {
5555
}
5656
}
5757

58-
// Conditional_Requirement_2_3_1
58+
// Conditional_Requirement_2_2_2_1
5959
// The `feature provider` interface MUST define methods for typed flag resolution,
6060
// including boolean, numeric, string, and structure.
6161
//

0 commit comments

Comments
 (0)