Starting doing integration tests

This commit is contained in:
claudemiro
2016-01-18 22:52:03 -02:00
parent 1971da652f
commit 56da1dea01
5 changed files with 134 additions and 24 deletions
+1 -5
View File
@@ -34,11 +34,7 @@ func GenerateSessionID() string {
func IsChannelNameValid(channelName string) bool {
matched, err := regexp.MatchString("^[A-Za-z0-9_\\-=@,.;]+$", channelName)
if err != nil {
return false
}
if matched {
if err == nil && matched {
return true
}