Added breaking change count to core design

Everything will now calculate total changes and breaking changes as a convenience and aggregation mechanism.

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2022-10-05 10:15:55 -04:00
parent 0dbbc8e826
commit 0b2c3c1201
17 changed files with 176 additions and 110 deletions

View File

@@ -115,6 +115,7 @@ url: https://quobix.com`
assert.True(t, extChange.Context.HasChanged())
assert.Equal(t, "hiya!", extChange.New)
assert.Equal(t, "hello", extChange.Original)
assert.Equal(t, 0, extChanges.TotalBreakingChanges())
}
func TestCompareExternalDocs_Identical(t *testing.T) {