diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/editor_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/editor_test.go b/tests/integration/editor_test.go index ac47ed0094..ac1fb2abff 100644 --- a/tests/integration/editor_test.go +++ b/tests/integration/editor_test.go @@ -415,7 +415,7 @@ func testForkToEditFile(t *testing.T, session *TestSession, user, owner, repo, b req = NewRequestWithValues(t, "POST", fmt.Sprintf("/%s/%s-1/_edit/%s/%s?from_base_branch=%s", user, repo, branch, filePath, branch), editRequestForm) resp = session.MakeRequest(t, req, http.StatusBadRequest) respJSON := test.ParseJSONError(resp.Body.Bytes()) - assert.Equal(t, `Branch "master" already exists in your fork, please choose a new branch name.`, respJSON.ErrorMessage) + assert.Equal(t, `Branch "master" already exists in your fork. Please choose a new branch name.`, respJSON.ErrorMessage) // change a file in the forked repo (should succeed) newBranchName := htmlDoc.GetInputValueByName("new_branch_name") |