fea: access for ceci.

This commit is contained in:
Daniel Ding
2025-04-13 15:33:35 +08:00
parent d7622bbc05
commit 754d933e68
859 changed files with 120670 additions and 145098 deletions

View File

@@ -2,10 +2,11 @@ package config
import (
"fmt"
"github.com/luscis/openlan/pkg/libol"
"github.com/stretchr/testify/assert"
"os"
"testing"
"github.com/luscis/openlan/pkg/libol"
"github.com/stretchr/testify/assert"
)
func TestPointFlags(t *testing.T) {
@@ -19,7 +20,7 @@ func TestPointFlags(t *testing.T) {
ap.Parse()
fmt.Println(ap)
assert.Equal(t, "fake", ap.Alias, "be the same.")
assert.Equal(t, "/etc/openlan/fake.json", ap.SaveFile, "be the same.")
assert.Equal(t, "/etc/openlan/fake.json", ap.Conf, "be the same.")
assert.Equal(t, "off", ap.Terminal, "be the same.")
}