diff options
author | Jun Aruga <jaruga@redhat.com> | 2021-05-31 16:21:10 +0200 |
---|---|---|
committer | Jun Aruga <junaruga@users.noreply.github.com> | 2021-05-31 16:24:16 +0200 |
commit | ff6f4e631ccddb436c3c7a3a0ebf6a3f3e4b63ec (patch) | |
tree | 2e801470909dc20c6139b72fa27c5f9174c891b5 /tool/ci_functions.sh | |
parent | 395479907159c5d948492cf761c614fb7c8364df (diff) | |
download | ruby-ff6f4e631ccddb436c3c7a3a0ebf6a3f3e4b63ec.tar.gz |
tool/ci_functions.sh: Fix typos and improve the comment. [ci skip]
Diffstat (limited to 'tool/ci_functions.sh')
-rw-r--r-- | tool/ci_functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/ci_functions.sh b/tool/ci_functions.sh index f0e888e3df..7066bbe4ec 100644 --- a/tool/ci_functions.sh +++ b/tool/ci_functions.sh @@ -7,7 +7,7 @@ # See `ruby tool/test/runner.rb --help` `-n` option. function ci_to_excluded_test_opts { local tests_str="${1}" - # Use the backward matching `!/name$/`, as the perfect matching does not work. + # Use the backward matching `!/name$/`, as the perfect matching doesn't work. # https://bugs.ruby-lang.org/issues/16936 ruby <<EOF opts = "${tests_str}".split.map { |test| "-n \!/#{test}\$$/" } @@ -16,7 +16,7 @@ EOF return 0 } -# Create options with patterns `-n /name1/ -n /name2/ ..` to exclude the test +# Create options with patterns `-n name1 -n name2 ..` to include the test # method names by the method names `name1 name2 ..`. # See `ruby tool/test/runner.rb --help` `-n` option. function ci_to_included_test_opts { |