github.hscsec.cn/aerogo/aero@v1.0.0/Configuration_test.go (about)

     1  package aero_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/aerogo/aero"
     7  	"github.com/stretchr/testify/assert"
     8  )
     9  
    10  func TestLoadConfig(t *testing.T) {
    11  	config, err := aero.LoadConfig("test/config.json")
    12  
    13  	// Verify configuration
    14  	assert.NoError(t, err)
    15  	assert.NotNil(t, config)
    16  	assert.NotEmpty(t, config.Title)
    17  }