mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Removed the ModifiedAndRemoved and Moved change types from the library.
They are not useful and will create a lot of noise, The context will always be available, but changes in context will not result in a recorded change. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -162,7 +162,7 @@ url: https://pb33f.io`
|
||||
// compare.
|
||||
extChanges := CompareLicense(&lDoc, &rDoc)
|
||||
assert.Equal(t, 2, extChanges.TotalChanges())
|
||||
assert.Equal(t, ModifiedAndMoved, extChanges.Changes[0].ChangeType)
|
||||
assert.Equal(t, Modified, extChanges.Changes[0].ChangeType)
|
||||
assert.Equal(t, PropertyRemoved, extChanges.Changes[1].ChangeType)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user