Skip to content

Commit

Permalink
all: gofmt (#65)
Browse files Browse the repository at this point in the history
Run standard gofmt command on project root.

- go version go1.10.3 darwin/amd64

Signed-off-by: ia <[email protected]>
  • Loading branch information
whilei authored and filhodanuvem committed Jun 21, 2018
1 parent 6716a7a commit c369fc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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 @@ -89,7 +89,7 @@ func TestWhereLike(t *testing.T) {
table := getTableForQuery(query, "../", t)
if len(table.rows) != 1 {
t.Errorf("Expecting 1 row. Got %d rows", len(table.rows))
}
}
}

func TestNotEqualsInWhereLTGT(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion runtime/visitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (v *RuntimeVisitor) VisitEqual(n *parser.NodeEqual) error {
}

func (v *RuntimeVisitor) VisitLike(n *parser.NodeLike) error {
lvalue := n.LeftValue().(*parser.NodeId).Value()
lvalue := n.LeftValue().(*parser.NodeId).Value()
rvalue := n.RightValue().(*parser.NodeLiteral).Value()
boolRegister = n.Assertion(metadata(lvalue), rvalue)
return nil
Expand Down

0 comments on commit c369fc7

Please sign in to comment.