discovered a bug in content changes

Switching machines, I can’t use this laptop for any real work.

Signed-off-by: Dave Shanley <dshanley@splunk.com>
This commit is contained in:
Dave Shanley
2022-11-19 09:36:50 -05:00
committed by Dave Shanley
parent ecb7603a32
commit 22ca3ced63
2 changed files with 12 additions and 5 deletions

View File

@@ -22,8 +22,8 @@ func TestCompareOpenAPIDocuments(t *testing.T) {
modDoc, _ := v3.CreateDocument(infoMod)
changes := CompareOpenAPIDocuments(origDoc, modDoc)
assert.Equal(t, 21, changes.TotalChanges())
assert.Equal(t, 3, changes.TotalBreakingChanges())
assert.Equal(t, 28, changes.TotalChanges())
assert.Equal(t, 5, changes.TotalBreakingChanges())
}