소스 검색

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