Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #3 from saakshimanocha/master

include index in VBucket constructor
  • Loading branch information...
commit 327139f52e72adc3dd8cd5abd88becf144c123f0 2 parents f3bb897 + 577bb5d
@jzablocki authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 MemcachedTest/VBucketTest.cs
View
14 MemcachedTest/VBucketTest.cs
@@ -25,13 +25,13 @@ class VBucketTest
};
// copied from libvbucket
- VBucket[] buckets = new[]
- {
- new VBucket(0, new [] { 1, 2 }),
- new VBucket(1, new [] { 2, 0 }),
- new VBucket(2, new [] { 1, -1 }),
- new VBucket(1, new [] { 2, 0 }),
- };
+ private VBucket[] buckets = new[]
+ {
+ new VBucket(0, new[] {1, 2}, 0),
+ new VBucket(1, new[] {2, 0}, 1),
+ new VBucket(2, new[] {1, -1}, 2),
+ new VBucket(1, new[] {2, 0}, 3)
+ };
[TestCase]
public void TestBuckets()
Please sign in to comment.
Something went wrong with that request. Please try again.