We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f1a98 commit 18c95e7Copy full SHA for 18c95e7
1 file changed
exercises/practice/pov/pov_test.go
@@ -45,7 +45,7 @@ func TestNewNotNil(t *testing.T) {
45
func TestValue(t *testing.T) {
46
for _, tt := range helperTestCases {
47
t.Run(tt.description, func(t *testing.T) {
48
- tree := New(tt.root, tt.children...)
+ tree := tt.tree
49
got := tree.Value()
50
want := tt.root
51
if want != got {
@@ -58,7 +58,7 @@ func TestValue(t *testing.T) {
58
func TestChildren(t *testing.T) {
59
60
61
62
got := tree.Children()
63
want := tt.children
64
if !treeSliceEqual(want, got) {
0 commit comments