(t *testing.T)
| 360 | } |
| 361 | |
| 362 | func TestCollapseLogValueDelete(t *testing.T) { |
| 363 | in := []replicationTask{task_DIRTY_VALUE, task_DELETE} |
| 364 | var exp replicationTask = task_DELETE |
| 365 | task, err := collapseOpLog(in) |
| 366 | if err != nil { |
| 367 | t.Errorf("collapseOpLog(%v) returned error: %v", err) |
| 368 | } |
| 369 | |
| 370 | if task != exp { |
| 371 | t.Errorf("collapseOpLog(%v) returned %v; want", task, exp) |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | func TestCollapseLogDeleteValue(t *testing.T) { |
| 376 | in := []replicationTask{task_DELETE, task_DIRTY_VALUE} |
nothing calls this directly
no test coverage detected