summaryrefslogtreecommitdiff
path: root/snappy_unittest.cc
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
commit41c827a2fa9ce048202d941187f211180feadde4 (patch)
treef8d49303ac3ce185ea7548d895dd74c2de1e5600 /snappy_unittest.cc
parent59aeffa6049b5c2a3a467e7602c1f93630b870e7 (diff)
downloadsnappy-41c827a2fa9ce048202d941187f211180feadde4.tar.gz
snappy-41c827a2fa9ce048202d941187f211180feadde4.tar.bz2
snappy-41c827a2fa9ce048202d941187f211180feadde4.zip
Fix public issue #47: Small comment cleanups in the unit test.
Originally based on a patch by Patrick Pelletier. R=sanjay git-svn-id: https://snappy.googlecode.com/svn/trunk@46 03e5f5b5-db94-4691-08a0-1a8bf15f6143
Diffstat (limited to 'snappy_unittest.cc')
-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();