Skip to content

Commit

Permalink
register walk type
Browse files Browse the repository at this point in the history
  • Loading branch information
jsixface committed Oct 30, 2017
1 parent 38fcc29 commit 21e7a8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/commits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func getTableForQuery(query, directory string, t *testing.T) *TableData {
visitor := new(RuntimeVisitor)
err := visitor.Visit(ast)
failTestIfError(err, t)

findWalkType(ast)
tableData, err := walkCommits(ast, visitor)
failTestIfError(err, t)
return tableData
Expand Down
1 change: 0 additions & 1 deletion runtime/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ func testAllFieldsFromTable(fields []string, table string) error {
return err
}
}

return nil
}

Expand Down

0 comments on commit 21e7a8a

Please sign in to comment.