Files
screego/config/mode/mode_test.go
T
Jannis Mattheis f73e0606ac Add config
2020-10-04 20:10:38 +02:00

18 lines
227 B
Go

package mode
import (
"testing"
"github.com/magiconair/properties/assert"
)
func TestGet(t *testing.T) {
mode = Prod
assert.Equal(t, Prod, Get())
}
func TestSet(t *testing.T) {
Set(Prod)
assert.Equal(t, Prod, mode)
}