mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
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:
committed by
Dave Shanley
parent
ecb7603a32
commit
22ca3ced63
@@ -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())
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user