mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-10 09:50:58 +02:00
parent
8862436993
commit
903908ddad
@ -71,6 +71,14 @@ func TestKeyValueConstructors(t *testing.T) {
|
||||
Value: core.Float32(123.5),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "String",
|
||||
actual: key.String("k1", "123.5"),
|
||||
expected: core.KeyValue{
|
||||
Key: "k1",
|
||||
Value: core.String("123.5"),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Int",
|
||||
actual: key.Int("k1", 123),
|
||||
|
Loading…
Reference in New Issue
Block a user