diff options
author | Yudai Takada <t.yudai92@gmail.com> | 2024-07-01 00:16:25 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-01 11:08:37 +0900 |
commit | 15ceb95d781f3966e987fe217c22edcaf6941501 (patch) | |
tree | 15ef20b2885aac3aa007281bccfab30e22e292ec | |
parent | 01eb5c0f18f3eee44aee59a36399c3d56ba961e3 (diff) |
[ruby/rdoc] Fix some typos (https://github.com/ruby/rdoc/pull/1129)
* constist ==> consist
* Tidyness ==> Tidiness
* Currentry ==> Currently
* valus ==> values
https://github.com/ruby/rdoc/commit/8412705721
-rw-r--r-- | lib/rdoc/generator/pot/po_entry.rb | 2 | ||||
-rw-r--r-- | lib/rdoc/parser/changelog.rb | 2 | ||||
-rw-r--r-- | test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text | 2 | ||||
-rw-r--r-- | test/rdoc/MarkdownTest_1.0.3/Tidiness.text (renamed from test/rdoc/MarkdownTest_1.0.3/Tidyness.text) | 0 | ||||
-rw-r--r-- | test/rdoc/test_rdoc_markdown_test.rb | 6 |
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/rdoc/generator/pot/po_entry.rb b/lib/rdoc/generator/pot/po_entry.rb index 3c278826f4..7454b29273 100644 --- a/lib/rdoc/generator/pot/po_entry.rb +++ b/lib/rdoc/generator/pot/po_entry.rb @@ -23,7 +23,7 @@ class RDoc::Generator::POT::POEntry attr_reader :flags ## - # Creates a PO entry for +msgid+. Other valus can be specified by + # Creates a PO entry for +msgid+. Other values can be specified by # +options+. def initialize msgid, options = {} diff --git a/lib/rdoc/parser/changelog.rb b/lib/rdoc/parser/changelog.rb index a046241870..4014c6eb1c 100644 --- a/lib/rdoc/parser/changelog.rb +++ b/lib/rdoc/parser/changelog.rb @@ -221,7 +221,7 @@ class RDoc::Parser::ChangeLog < RDoc::Parser module Git ## - # Parses auxiliary info. Currentry `base-url` to expand + # Parses auxiliary info. Currently `base-url` to expand # references is effective. def parse_info(info) diff --git a/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text b/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text index 184018a5ac..2fe1e3f00e 100644 --- a/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text +++ b/test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text @@ -608,7 +608,7 @@ or tabs for padding, which tends to look better with longer URLs: Link definitions are only used for creating links during Markdown processing, and are stripped from your document in the HTML output. -Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links: +Link definition names may consist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links: [link text][a] [link text][A] diff --git a/test/rdoc/MarkdownTest_1.0.3/Tidyness.text b/test/rdoc/MarkdownTest_1.0.3/Tidiness.text index 5f18b8da21..5f18b8da21 100644 --- a/test/rdoc/MarkdownTest_1.0.3/Tidyness.text +++ b/test/rdoc/MarkdownTest_1.0.3/Tidiness.text diff --git a/test/rdoc/test_rdoc_markdown_test.rb b/test/rdoc/test_rdoc_markdown_test.rb index d4f894c924..193d648253 100644 --- a/test/rdoc/test_rdoc_markdown_test.rb +++ b/test/rdoc/test_rdoc_markdown_test.rb @@ -1401,7 +1401,7 @@ foo para("Link definitions are only used for creating links during Markdown\n" + "processing, and are stripped from your document in the HTML output."), - para("Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are _not_ case sensitive. E.g. these two links:"), + para("Link definition names may consist of letters, numbers, spaces, and punctuation -- but they are _not_ case sensitive. E.g. these two links:"), verb("[link text][a]\n", "[link text][A]\n"), @@ -1863,8 +1863,8 @@ foo assert_equal expected, doc end - def test_tidyness - input = File.read "#{MARKDOWN_TEST_PATH}/Tidyness.text" + def test_tidiness + input = File.read "#{MARKDOWN_TEST_PATH}/Tidiness.text" doc = @parser.parse input |