From b7896919761d1f942a042603510b30921a8c2009 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 28 May 2014 10:28:15 -0600 Subject: Add streaming check. This commit changes Tx.Check() to return a channel through which check errors are returned. This allows errors to be found before checking the entire data file. --- tx_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tx_test.go') diff --git a/tx_test.go b/tx_test.go index f6ee3d3..dd04ae6 100644 --- a/tx_test.go +++ b/tx_test.go @@ -310,7 +310,7 @@ func TestTx_Check_Corrupt(t *testing.T) { }) }() - assert.Equal(t, "check fail: 1 errors occurred: page 3: already freed", msg) + assert.Equal(t, "check fail: page 3: already freed", msg) } // Ensure that the database can be copied to a file path. -- cgit v1.2.3