- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValueAny (0.18 sec)
-
src/log/slog/value_test.go
} { got := AnyValue(test.in) if !got.Equal(test.want) { t.Errorf("%v (%[1]T): got %v (kind %s), want %v (kind %s)", test.in, got, got.Kind(), test.want, test.want.Kind()) } } } func TestValueAny(t *testing.T) { for _, want := range []any{ nil, LevelDebug + 100, time.UTC, // time.Locations treated specially... KindBool, // ...as are Kinds []Attr{Int("a", 1)}, int64(2), uint64(3),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 6.9K bytes - Viewed (0)