Removed debug prints

This commit is contained in:
Deluan
2016-03-01 17:57:03 -05:00
parent c64a0f8242
commit cff829fb75
-3
View File
@@ -3,7 +3,6 @@ package utils
import ( import (
"testing" "testing"
. "github.com/smartystreets/goconvey/convey" . "github.com/smartystreets/goconvey/convey"
"fmt"
) )
func TestParseIndexGroup(t *testing.T) { func TestParseIndexGroup(t *testing.T) {
@@ -20,7 +19,6 @@ func TestParseIndexGroup(t *testing.T) {
Convey("An entry with a group", t, func() { Convey("An entry with a group", t, func() {
parsed := ParseIndexGroups("A-C(ABC) Z") parsed := ParseIndexGroups("A-C(ABC) Z")
fmt.Println("\n>>>>>>", parsed)
So(parsed, ShouldContainKey, "A") So(parsed, ShouldContainKey, "A")
So(parsed["A"], ShouldEqual, "A-C") So(parsed["A"], ShouldEqual, "A-C")
@@ -34,7 +32,6 @@ func TestParseIndexGroup(t *testing.T) {
}) })
Convey("Correctly parses UTF-8", t, func() { Convey("Correctly parses UTF-8", t, func() {
parsed := ParseIndexGroups("UTF8(宇A海)") parsed := ParseIndexGroups("UTF8(宇A海)")
fmt.Println("\n>>>>>>", parsed)
So(parsed, ShouldContainKey, "宇") So(parsed, ShouldContainKey, "宇")
So(parsed["宇"], ShouldEqual, "UTF8") So(parsed["宇"], ShouldEqual, "UTF8")