this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

internal/core/adt: test TopKind in TestKindString

It has special logic to stringify as "_", so it seems odd to omit it
from the table-driven unit test.

Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I8144ea52d1e8c315617cce730a32fa37d0747093
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1224222
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+4
+4
internal/core/adt/kind_test.go
··· 30 30 input: BottomKind, 31 31 want: "_|_", 32 32 }, { 33 + input: TopKind, 34 + want: "_", 35 + wantKinds: []Kind{NullKind, BoolKind, IntKind, FloatKind, StringKind, BytesKind, FuncKind, ListKind, StructKind}, 36 + }, { 33 37 input: IntKind | ListKind, 34 38 want: `(int|[...])`, 35 39 wantKinds: []Kind{IntKind, ListKind},