summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMihir Joshi <mihir67mj@gmail.com>2024-01-11 08:34:45 +0530
committerGitHub <noreply@github.com>2024-01-11 11:04:45 +0800
commit669bbbaf243ae1e65d6667eb91d2a963b526ebd7 (patch)
tree33c78579aaf4aaf69fb97d622764e3eb31c9081f /tests
parentc65f8623e64199844a7862b52ee2514253f0d395 (diff)
downloadgitea-669bbbaf243ae1e65d6667eb91d2a963b526ebd7.tar.gz
gitea-669bbbaf243ae1e65d6667eb91d2a963b526ebd7.zip
Integration Test for Commit Search containing Square Brackets (#28751)
Integration test for #28744 Change keywords commit search flag from `-F` to `--fixed-strings` for readability
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/repo_commits_search_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/repo_commits_search_test.go b/tests/integration/repo_commits_search_test.go
index 1c27b6db9d..74ac25c0f5 100644
--- a/tests/integration/repo_commits_search_test.go
+++ b/tests/integration/repo_commits_search_test.go
@@ -32,6 +32,7 @@ func TestRepoCommitsSearch(t *testing.T) {
testRepoCommitsSearch(t, "38a9cb", "")
testRepoCommitsSearch(t, "6e8e", "6e8eabd9a7")
testRepoCommitsSearch(t, "58e97", "58e97d1a24")
+ testRepoCommitsSearch(t, "[build]", "")
testRepoCommitsSearch(t, "author:alice", "6e8eabd9a7")
testRepoCommitsSearch(t, "author:alice 6e8ea", "6e8eabd9a7")
testRepoCommitsSearch(t, "committer:Tom", "58e97d1a24")