浏览代码

fixed test to use un exported shouldPrepare

Harpreet Sawhney 11 年之前
父节点
当前提交
1c13825d08
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cass1batch_test.go

+ 1 - 1
cass1batch_test.go

@@ -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)
 		}
 	}