Skip to content

Commit 027318b

Browse files
committed
fix(svn_test): rename "min" variable to avoid collision with built-in type
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
1 parent 5e33e68 commit 027318b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

comid/svn_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ func Test_NewSVN(t *testing.T) {
8282
}
8383

8484
retMin, err := NewSVN(tv.Input, "min-value")
85-
min := TaggedMinSVN(tv.Expected)
86-
expected = SVN{&min}
85+
minSVN := TaggedMinSVN(tv.Expected)
86+
expected = SVN{&minSVN}
8787

8888
if tv.Err != "" {
8989
assert.EqualError(t, err, tv.Err)

0 commit comments

Comments
 (0)