(t *testing.T)
| 347 | } |
| 348 | |
| 349 | func TestCollapseLogValueTouch(t *testing.T) { |
| 350 | in := []replicationTask{task_DIRTY_VALUE, task_TOUCH} |
| 351 | var exp replicationTask = task_DIRTY_VALUE |
| 352 | task, err := collapseOpLog(in) |
| 353 | if err != nil { |
| 354 | t.Errorf("collapseOpLog(%v) returned error: %v", err) |
| 355 | } |
| 356 | |
| 357 | if task != exp { |
| 358 | t.Errorf("collapseOpLog(%v) returned %v; want", task, exp) |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | func TestCollapseLogValueDelete(t *testing.T) { |
| 363 | in := []replicationTask{task_DIRTY_VALUE, task_DELETE} |
nothing calls this directly
no test coverage detected