projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '5288-arv-copy-documentation' refs #5288
[arvados.git]
/
services
/
keepstore
/
handler_test.go
diff --git
a/services/keepstore/handler_test.go
b/services/keepstore/handler_test.go
index 074e49999b449eca9dd82ba418fa5f0fe9401e8e..c181982a132cb7490d03451c891d78c5e56eaa33 100644
(file)
--- a/
services/keepstore/handler_test.go
+++ b/
services/keepstore/handler_test.go
@@
-377,7
+377,7
@@
func TestIndexHandler(t *testing.T) {
response)
expected := `^` + TEST_HASH + `\+\d+ \d+\n` +
response)
expected := `^` + TEST_HASH + `\+\d+ \d+\n` +
- TEST_HASH_2 + `\+\d+ \d+\n$`
+ TEST_HASH_2 + `\+\d+ \d+\n
\n
$`
match, _ := regexp.MatchString(expected, response.Body.String())
if !match {
t.Errorf(
match, _ := regexp.MatchString(expected, response.Body.String())
if !match {
t.Errorf(
@@
-393,7
+393,7
@@
func TestIndexHandler(t *testing.T) {
http.StatusOK,
response)
http.StatusOK,
response)
- expected = `^` + TEST_HASH + `\+\d+ \d+\n$`
+ expected = `^` + TEST_HASH + `\+\d+ \d+\n
\n
$`
match, _ = regexp.MatchString(expected, response.Body.String())
if !match {
t.Errorf(
match, _ = regexp.MatchString(expected, response.Body.String())
if !match {
t.Errorf(