Skip to content

Commit

Permalink
fixed test to use un exported shouldPrepare
Browse files Browse the repository at this point in the history
  • Loading branch information
hsawhney09 committed Apr 15, 2014
1 parent e2550da commit 1c13825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cass1batch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestShouldPrepareFunction(t *testing.T) {

for _, test := range shouldPrepareTests {
q := &Query{stmt: test.Stmt}
if got := q.ShouldPrepare(); got != test.Result {
if got := q.shouldPrepare(); got != test.Result {
t.Fatalf("%q: got %v, expected %v\n", test.Stmt, got, test.Result)
}
}
Expand Down

0 comments on commit 1c13825

Please sign in to comment.