mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Tuned up local file handling and cleaned things up
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -1366,6 +1366,9 @@ func TestRolodex_SimpleTest_OneDoc(t *testing.T) {
|
||||
assert.Equal(t, fs.FileMode(0), f.Mode())
|
||||
assert.Len(t, f.GetErrors(), 0)
|
||||
|
||||
// check the index has a rolodex reference
|
||||
assert.NotNil(t, idx.GetRolodex())
|
||||
|
||||
// re-run the index should be a no-op
|
||||
assert.NoError(t, rolo.IndexTheRolodex())
|
||||
rolo.CheckForCircularReferences()
|
||||
|
||||
Reference in New Issue
Block a user