@@ -48,22 +48,22 @@ func TestKeyString(t *testing.T) {
4848 key : & Key {
4949 Query : []byte ("SELECT 1 FROM system.numbers LIMIT 10" ),
5050 },
51- expected : "b84443ea3b7651f8eed84ad70cc17d55 " ,
51+ expected : "bebe3382e36ffdeea479b45d827b208a " ,
5252 },
5353 {
5454 key : & Key {
5555 Query : []byte ("SELECT 1 FROM system.numbers LIMIT 10" ),
5656 AcceptEncoding : "gzip" ,
5757 },
58- expected : "baece3cc15d1aa1516e2729409ece703 " ,
58+ expected : "498c1af30fb94280fd7c7225c0c8fb39 " ,
5959 },
6060 {
6161 key : & Key {
6262 Query : []byte ("SELECT 1 FROM system.numbers LIMIT 10" ),
6363 AcceptEncoding : "gzip" ,
6464 DefaultFormat : "JSON" ,
6565 },
66- expected : "c238bde938f93419e93b5b7b0341f1ef " ,
66+ expected : "720292aa0647cc5e53e0b6e6033eef34 " ,
6767 },
6868 {
6969 key : & Key {
@@ -72,7 +72,7 @@ func TestKeyString(t *testing.T) {
7272 DefaultFormat : "JSON" ,
7373 Database : "foobar" ,
7474 },
75- expected : "e55de3951f08688a34e589caaeed437f " ,
75+ expected : "5c6a70736d71e570faca739c4557780c " ,
7676 },
7777 {
7878 key : & Key {
@@ -82,7 +82,7 @@ func TestKeyString(t *testing.T) {
8282 Database : "foobar" ,
8383 Namespace : "ns123" ,
8484 },
85- expected : "a8676b65119982a1fa135005e0583a07 " ,
85+ expected : "08b4baf6825e53bbd18136a88abda4f8 " ,
8686 },
8787 {
8888 key : & Key {
@@ -93,7 +93,7 @@ func TestKeyString(t *testing.T) {
9393 Compress : "1" ,
9494 Namespace : "ns123" ,
9595 },
96- expected : "9a2ad211524d5c8983d43784fd59677d " ,
96+ expected : "0e043f23ccd1b9039b33623b3b7c114a " ,
9797 },
9898 }
9999
@@ -103,7 +103,7 @@ func TestKeyString(t *testing.T) {
103103 t .Fatalf ("invalid key string format: %q" , s )
104104 }
105105 if s != tc .expected {
106- t .Fatalf ("unexpected key string: %q; expecting: %q" , s , tc .expected )
106+ t .Errorf ("unexpected key string: %q; expecting: %q" , s , tc .expected )
107107 }
108108 }
109109}
0 commit comments