From 669bbbaf243ae1e65d6667eb91d2a963b526ebd7 Mon Sep 17 00:00:00 2001 From: Mihir Joshi Date: Thu, 11 Jan 2024 08:34:45 +0530 Subject: 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 --- tests/integration/repo_commits_search_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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") -- cgit v1.2.3