aboutsummaryrefslogtreecommitdiff
path: root/db_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2015-02-02 09:11:18 -0700
committerBen Johnson <benbjohnson@yahoo.com>2015-02-02 09:11:18 -0700
commitb8dbe1101d74c30e817227a99716591e3e6e6bc4 (patch)
tree77171972193974206272a59b89140ef048c3a7f1 /db_test.go
parentMerge pull request #294 from benbjohnson/assert (diff)
parentPersist sequence-only changes. (diff)
downloaddedo-b8dbe1101d74c30e817227a99716591e3e6e6bc4.tar.gz
dedo-b8dbe1101d74c30e817227a99716591e3e6e6bc4.tar.xz
Merge pull request #297 from benbjohnson/seq
Persist sequence-only changes
Diffstat (limited to 'db_test.go')
-rw-r--r--db_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/db_test.go b/db_test.go
index 7ba5ce8..4f05ad9 100644
--- a/db_test.go
+++ b/db_test.go
@@ -696,3 +696,6 @@ func fileSize(path string) int64 {
}
return fi.Size()
}
+
+func warn(v ...interface{}) { fmt.Fprintln(os.Stderr, v...) }
+func warnf(msg string, v ...interface{}) { fmt.Fprintf(os.Stderr, msg+"\n", v...) }