This commit is contained in:
Michał Matczuk
2017-09-22 13:47:15 +02:00
parent fd5efe40eb
commit 3351b1f9a3
6 changed files with 247 additions and 2 deletions

17
migrate/checksum_test.go Normal file
View File

@@ -0,0 +1,17 @@
// Copyright (C) 2017 ScyllaDB
// Use of this source code is governed by a ALv2-style
// license that can be found in the LICENSE file.
package migrate
import "testing"
func TestFileChecksum(t *testing.T) {
c, err := fileChecksum("testdata/file")
if err != nil {
t.Fatal(err)
}
if c != "bbe02f946d5455d74616fc9777557c22" {
t.Fatal(c)
}
}