Skip to content

Commit 1d566cd

Browse files
committed
fixed more tests
Signed-off-by: quobix <[email protected]>
1 parent faf191b commit 1d566cd

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

datamodel/high/node_builder_test.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,9 @@ func TestNewNodeBuilder_MapKeyHasValue(t *testing.T) {
422422
}
423423

424424
type test1low struct {
425-
Thrug key `yaml:"thrug"`
426-
Thugg *bool `yaml:"thugg"`
425+
Thrug key `yaml:"thrug"`
426+
Thugg *bool `yaml:"thugg"`
427+
Throo *float32 `yaml:"throo"`
427428
}
428429

429430
t2 := test1low{
@@ -455,8 +456,9 @@ func TestNewNodeBuilder_MapKeyHasValueThatHasValue(t *testing.T) {
455456
}
456457

457458
type test1low struct {
458-
Thomp key `yaml:"thomp"`
459-
Thugg *bool `yaml:"thugg"`
459+
Thomp key `yaml:"thomp"`
460+
Thugg *bool `yaml:"thugg"`
461+
Throo *float32 `yaml:"throo"`
460462
}
461463

462464
t2 := test1low{
@@ -496,6 +498,7 @@ func TestNewNodeBuilder_MapKeyHasValueThatHasValueMatch(t *testing.T) {
496498
type test1low struct {
497499
Thomp low.NodeReference[map[key]string] `yaml:"thomp"`
498500
Thugg *bool `yaml:"thugg"`
501+
Throo *float32 `yaml:"throo"`
499502
}
500503

501504
g := low.NodeReference[map[key]string]{
@@ -530,6 +533,7 @@ func TestNewNodeBuilder_MapKeyHasValueThatHasValueMatchKeyNode(t *testing.T) {
530533
type test1low struct {
531534
Thomp low.NodeReference[map[key]string] `yaml:"thomp"`
532535
Thugg *bool `yaml:"thugg"`
536+
Throo *float32 `yaml:"throo"`
533537
}
534538

535539
g := low.NodeReference[map[key]string]{
@@ -564,6 +568,7 @@ func TestNewNodeBuilder_MapKeyHasValueThatHasValueMatch_NoWrap(t *testing.T) {
564568
type test1low struct {
565569
Thomp map[key]string `yaml:"thomp"`
566570
Thugg *bool `yaml:"thugg"`
571+
Throo *float32 `yaml:"throo"`
567572
}
568573

569574
t2 := test1low{
@@ -996,7 +1001,8 @@ func TestNewNodeBuilder_ShouldHaveNotDoneTestsLikeThisOhWell(t *testing.T) {
9961001

9971002
type t1low struct {
9981003
Thril low.NodeReference[map[low.KeyReference[string]]low.ValueReference[*key]]
999-
Thugg *bool `yaml:"thugg"`
1004+
Thugg *bool `yaml:"thugg"`
1005+
Throo *float32 `yaml:"throo"`
10001006
}
10011007

10021008
t1 := test1{

0 commit comments

Comments
 (0)