summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2011-08-10 01:22:09 +0000
committersnappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143>2011-08-10 01:22:09 +0000
commit3abf5208bd5ba6cac897d04b91a45b263c5d2ce9 (patch)
treef8d49303ac3ce185ea7548d895dd74c2de1e5600
parent437b4cd5ffd2d6f296fa5e9e3a1befdd1b5886cb (diff)
downloadsnappy-3abf5208bd5ba6cac897d04b91a45b263c5d2ce9.tar.gz
Fix public issue #47: Small comment cleanups in the unit test.
Originally based on a patch by Patrick Pelletier. R=sanjay git-svn-id: http://snappy.googlecode.com/svn/trunk@46 03e5f5b5-db94-4691-08a0-1a8bf15f6143
-rw-r--r--snappy_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/snappy_unittest.cc b/snappy_unittest.cc
index b2de246..1c193a1 100644
--- a/snappy_unittest.cc
+++ b/snappy_unittest.cc
@@ -742,11 +742,11 @@ TEST(Snappy, FourByteOffset) {
// it chops up the input into 32KB pieces. So we hand-emit the
// copy manually.
- // The two fragments that make up the input string
+ // The two fragments that make up the input string.
string fragment1 = "012345689abcdefghijklmnopqrstuvwxyz";
string fragment2 = "some other string";
- // How many times is each fragment emittedn
+ // How many times each fragment is emitted.
const int n1 = 2;
const int n2 = 100000 / fragment2.size();
const int length = n1 * fragment1.size() + n2 * fragment2.size();