mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
first round of a number I am sure, lots to clean. Signed-off-by: quobix <dave@quobix.com>
17 lines
325 B
Go
17 lines
325 B
Go
// Copyright 2023 Princess B33f Heavy Industries / Dave Shanley
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package index
|
|
|
|
import (
|
|
"github.com/stretchr/testify/assert"
|
|
"testing"
|
|
)
|
|
|
|
func TestSpecIndex_GetConfig(t *testing.T) {
|
|
idx1 := new(SpecIndex)
|
|
c := SpecIndexConfig{}
|
|
idx1.config = &c
|
|
assert.Equal(t, &c, idx1.GetConfig())
|
|
}
|