mirror of https://github.com/google/snappy.git
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
This commit is contained in:
parent
59aeffa604
commit
41c827a2fa
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue