Skip to content
This repository was archived by the owner on Dec 7, 2021. It is now read-only.

Commit 90f9f60

Browse files
committed
removed 'fmt.Print*' happening in text fixtures. Removed '.idea/' folder from git cache.
1 parent 594df60 commit 90f9f60

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88

99
# IDEs
1010
# =======
11-
.idea/*.iml
12-
.idea/modules.xml
13-
.idea/workspace.xml
14-
.idea/encodings.xml
15-
.idea/dataSources.xml
16-
.idea/dataSources.local.xml
17-
.idea/dataSources/
11+
.idea/
1812

1913
# Binaries for programs and plugins
2014
# =======

TestFixtures.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package ecms_go_inputfilter
22

33
import (
4-
"fmt"
54
ecms_validator "github.com/extensible-cms/ecms-go-validator"
65
"regexp"
76
)
@@ -19,9 +18,6 @@ func init() {
1918
nameValidatorOps.Pattern = regexp.MustCompile("^[a-zA-Z][a-zA-Z\\s'\"]{4,54}$")
2019
NameValidator := ecms_validator.RegexValidator(nameValidatorOps)
2120

22-
nametestRslt, nametestMsgs := NameValidator("abcd")
23-
fmt.Printf("nametestMsgs: %v; nametest: %v", nametestMsgs, nametestRslt)
24-
2521
NameInput = NewInput("name")
2622
NameInput.Required = true
2723
NameInput.RequiredMessage = "Name is required."

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
module github.com/extensible-cms/ecms-go-inputfilter
2+
3+
require github.com/extensible-cms/ecms-go-validator v0.0.0-20190826014204-921ba0375ffd

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/extensible-cms/ecms-go-validator v0.0.0-20190826014204-921ba0375ffd h1:tfMF1LFq1DoYWpMr4H4MU528mGaN9bEuWmclSXuB99o=
2+
github.com/extensible-cms/ecms-go-validator v0.0.0-20190826014204-921ba0375ffd/go.mod h1:ReaogoAmdmwSiLWl1D1YTR/BKa78VzHwGGyAVL1wxyY=

0 commit comments

Comments
 (0)