(t *testing.T)
| 334 | } |
| 335 | |
| 336 | func TestGetTwoEmpty(t *testing.T) { |
| 337 | kms.Unittest = true |
| 338 | utils.RemoveAll(testStorePath + "*") |
| 339 | kms.ResetBucket() |
| 340 | |
| 341 | x, _ := InitConsistent(testStorePath, new(KMSStorage), false) |
| 342 | defer utils.RemoveAll(testStorePath + "*") |
| 343 | _, _, err := x.GetTwoNeighbors("9999999999999999999999999999999999999999999999999999999999999999") |
| 344 | if err != ErrEmptyCircle { |
| 345 | t.Fatal(err) |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | func TestGetTwoQuick(t *testing.T) { |
| 350 | kms.Unittest = true |
nothing calls this directly
no test coverage detected