Skip to content

Commit

Permalink
test validation shortcut with a single character
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Jun 8, 2023
1 parent d6940d6 commit 711b9f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/metric/meter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,9 @@ func TestValidateInstrumentName(t *testing.T) {
name: "1",
wantErr: fmt.Errorf("%w: 1: must start with a letter", ErrInstrumentName),
},
{
name: "a",
},
{
name: "n4me",
},
Expand Down

0 comments on commit 711b9f9

Please sign in to comment.