Skip to content

Commit

Permalink
Add test cases from review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Dec 6, 2023
1 parent 69a2d40 commit f47cba3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/metric/internal/x/x_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ func TestExemplars(t *testing.T) {
require.Equal(t, key, Exemplars.Key())

t.Run("true", run(setenv(key, "true"), evalEnabled(Exemplars, "true")))
t.Run("True", run(setenv(key, "True"), evalEnabled(Exemplars, "True")))
t.Run("TRUE", run(setenv(key, "TRUE"), evalEnabled(Exemplars, "TRUE")))
t.Run("false", run(setenv(key, "false"), evalDisabled(Exemplars)))
t.Run("1", run(setenv(key, "1"), evalDisabled(Exemplars)))
t.Run("empty", run(evalDisabled(Exemplars)))
}

Expand Down

0 comments on commit f47cba3

Please sign in to comment.