Skip to content

Commit

Permalink
test: fix test to actually assert something
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Apr 6, 2023
1 parent 8d1fb59 commit 995db99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion viper_test.go
Expand Up @@ -9,7 +9,7 @@ import (
"bytes"
"encoding/json"
"io"
"io/ioutil" //nolint:staticcheck
"io/ioutil"
"os"
"os/exec"
"path"
Expand Down Expand Up @@ -892,8 +892,10 @@ func TestAliasesOfAliases(t *testing.T) {
}

func TestRecursiveAliases(t *testing.T) {
Set("baz", "bat")
RegisterAlias("Baz", "Roo")
RegisterAlias("Roo", "baz")
assert.Equal(t, "bat", Get("Baz"))
}

func TestUnmarshal(t *testing.T) {
Expand Down

0 comments on commit 995db99

Please sign in to comment.