Added callback object to what-changed

Cleaned up more covage in v3 model, we're almost there. My god what a mission this has been.
This commit is contained in:
Dave Shanley
2022-11-12 06:55:22 -05:00
parent 94aabf4928
commit 49ba7bb8b7
12 changed files with 496 additions and 99 deletions

View File

@@ -344,7 +344,7 @@ func TestCompareParameters_V3_ExamplesRemoved(t *testing.T) {
// compare
extChanges := CompareParameters(&rDoc, &lDoc)
assert.Equal(t, 1, extChanges.TotalChanges())
assert.Equal(t, 0, extChanges.TotalBreakingChanges())
assert.Equal(t, 1, extChanges.TotalBreakingChanges())
assert.Equal(t, ObjectRemoved, extChanges.Changes[0].ChangeType)
}