Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat/improve_client…
Browse files Browse the repository at this point in the history
…_test
  • Loading branch information
aepfli committed Nov 20, 2024
2 parents 0a9f40b + 510b2a6 commit 49f35f9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions openfeature/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package openfeature

import (
"context"
"errors"
"reflect"
"testing"
"time"
Expand Down Expand Up @@ -82,7 +81,7 @@ func TestRequirement_1_2_2(t *testing.T) {
// it's to be considered abnormal execution, and the supplied `default value` should be returned.
func TestRequirements_1_3(t *testing.T) {
defer t.Cleanup(initSingleton)
client, _, _ := newTestClient("test-client", t)
client := NewClient("test-client")

type requirements interface {
BooleanValue(ctx context.Context, flag string, defaultValue bool, evalCtx EvaluationContext, options ...Option) (bool, error)
Expand All @@ -103,7 +102,7 @@ func TestRequirements_1_3(t *testing.T) {
// and `evaluation options` (optional), which returns an `evaluation details` structure.
func TestRequirement_1_4_1(t *testing.T) {
defer t.Cleanup(initSingleton)
client, _, _ := newTestClient("test-client", t)
client := NewClient("test-client")

type requirements interface {
BooleanValueDetails(ctx context.Context, flag string, defaultValue bool, evalCtx EvaluationContext, options ...Option) (BooleanEvaluationDetails, error)
Expand Down

0 comments on commit 49f35f9

Please sign in to comment.