Wade Simba Khadder 9 лет назад
Родитель
Сommit
e4c9ebddfb
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      internal/graph/graph.go
  2. 1
    1
      internal/graph/graph_test.go

+ 1
- 1
internal/graph/graph.go Просмотреть файл

@@ -16,11 +16,11 @@
16 16
 package graph
17 17
 
18 18
 import (
19
+	"errors"
19 20
 	"fmt"
20 21
 	"math"
21 22
 	"path/filepath"
22 23
 	"sort"
23
-	"errors"
24 24
 	"strconv"
25 25
 	"strings"
26 26
 

+ 1
- 1
internal/graph/graph_test.go Просмотреть файл

@@ -109,7 +109,7 @@ type ExpectedNode struct {
109 109
 type TrimTreeTestCase struct {
110 110
 	Initial  *Graph
111 111
 	Expected []ExpectedNode
112
-	Keep nodePtrSet
112
+	Keep     nodePtrSet
113 113
 }
114 114
 
115 115
 // Makes the edge from parent to child residual