Skip to content

Commit

Permalink
fix unit test (zentures#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
leolee192 committed Oct 20, 2019
1 parent e211dc1 commit bb6f7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func TestAnalyzerMergeNodes(t *testing.T) {
atree.Finalize()

for _, l := range []int{1, 7, 8, 10} {
require.Equal(t, allTypesCount+1, len(atree.levels[l]), fmt.Sprintf("Expected: len(levels[%d]) == %d, Actual: got non-nil %s", l, allTypesCount+1, len(atree.levels[l])))
require.Equal(t, allTypesCount+1, len(atree.levels[l]), fmt.Sprintf("Expected: len(levels[%d]) == %d, Actual: got non-nil %d", l, allTypesCount+1, len(atree.levels[l])))

for i := 1; i < allTypesCount; i++ {
node := atree.levels[l][i]
Expand Down

0 comments on commit bb6f7a4

Please sign in to comment.