mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-15 04:32:15 -04:00
Restructure config and constants
This commit is contained in:
parent
66bb632a69
commit
1a9b33d738
18 changed files with 134 additions and 112 deletions
|
@ -5,7 +5,7 @@ import (
|
|||
"io"
|
||||
"testing"
|
||||
|
||||
"github.com/edgelesssys/constellation/internal/config"
|
||||
"github.com/edgelesssys/constellation/internal/constants"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
|
@ -21,5 +21,5 @@ func TestVersionCmd(t *testing.T) {
|
|||
|
||||
s, err := io.ReadAll(b)
|
||||
assert.NoError(err)
|
||||
assert.Contains(string(s), config.Version)
|
||||
assert.Contains(string(s), constants.CliVersion)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue