mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 13:33:21 -07:00
add test for Save function
This commit is contained in:
parent
aab5018de8
commit
383aa509c2
1 changed files with 8 additions and 0 deletions
|
@ -20,3 +20,11 @@ func TestAliasesSaveUnlocked(t *testing.T) {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestAliasesSave(t *testing.T) {
|
||||||
|
exampleAliases := buildExampleAlaises()
|
||||||
|
err := exampleAliases.Save()
|
||||||
|
if err != nil {
|
||||||
|
t.Error(err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue