From 21e7a8a265812fc0ff6ec2b5a2c6c78e2c3db8ac Mon Sep 17 00:00:00 2001 From: Arumugam J Date: Sun, 29 Oct 2017 00:20:31 -0400 Subject: [PATCH] register walk type --- runtime/commits_test.go | 2 +- runtime/visitor.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/runtime/commits_test.go b/runtime/commits_test.go index cf42b85..dfdfdec 100644 --- a/runtime/commits_test.go +++ b/runtime/commits_test.go @@ -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 diff --git a/runtime/visitor.go b/runtime/visitor.go index 9105364..af949a9 100644 --- a/runtime/visitor.go +++ b/runtime/visitor.go @@ -67,7 +67,6 @@ func testAllFieldsFromTable(fields []string, table string) error { return err } } - return nil }