mirror of
https://github.com/danielmiessler/Fabric.git
synced 2026-01-10 06:48:04 -05:00
17 lines
287 B
Go
17 lines
287 B
Go
package core
|
|
|
|
import (
|
|
"github.com/danielmiessler/fabric/plugins/db/fsdb"
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestSaveEnvFile(t *testing.T) {
|
|
registry := NewPluginRegistry(fsdb.NewDb(os.TempDir()))
|
|
|
|
err := registry.SaveEnvFile()
|
|
if err != nil {
|
|
t.Fatalf("SaveEnvFile() error = %v", err)
|
|
}
|
|
}
|