فهرست منبع

Add a .gitignore file for the downloaded testdata.

Nigel Tao 9 سال پیش
والد
کامیت
fd4a55a040
2فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 11 0
      .gitignore
  2. 3 0
      snappy_test.go

+ 11 - 0
.gitignore

@@ -0,0 +1,11 @@
+testdata/alice29.txt
+testdata/asyoulik.txt
+testdata/fireworks.jpeg
+testdata/geo.protodata
+testdata/html
+testdata/html_x_4
+testdata/kppkn.gtb
+testdata/lcet10.txt
+testdata/paper-100k.pdf
+testdata/plrabn12.txt
+testdata/urls.10K

+ 3 - 0
snappy_test.go

@@ -465,6 +465,9 @@ func BenchmarkRandomEncode(b *testing.B) {
 // testFiles' values are copied directly from
 // https://raw.githubusercontent.com/google/snappy/master/snappy_unittest.cc
 // The label field is unused in snappy-go.
+//
+// If this list changes (due to the upstream C++ list changing), remember to
+// update the .gitignore file in this repository.
 var testFiles = []struct {
 	label     string
 	filename  string