소스 검색

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