Skip to content

Commit e270b2f

Browse files
committed
This commit will enhance some codes
1 parent 0222b32 commit e270b2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shared/tests/shared_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ import (
99

1010
func TestIsValidDomain(t *testing.T) {
1111
var exportFile = "8.8.8.8"
12-
assert.True(t, shared.IsValidDomain(exportFile), "Valid Domain!")
12+
isValidDomain := shared.IsValidDomain(exportFile)
13+
assert.True(t, isValidDomain, "Valid Domain!")
1314
}
1415

1516
func TestInvalidParseRegexes(t *testing.T) {

0 commit comments

Comments
 (0)