Skip to content
Browse files

There is no constructor of VBucket that takes two arguments, so addin…

…g index as a third parameter to the VBucket initialize statement.
  • Loading branch information...
1 parent f3bb897 commit 577bb5d5d16dfbb8d54ce57a144634538917518b @saakshimanocha saakshimanocha committed Nov 30, 2012
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()

0 comments on commit 577bb5d

Please sign in to comment.
Something went wrong with that request. Please try again.