Skip to content

Commit

Permalink
[ruby/rdoc] Fix some typos (ruby/rdoc#1129)
Browse files Browse the repository at this point in the history
* constist ==> consist

* Tidyness ==> Tidiness

* Currentry ==> Currently

* valus ==> values

ruby/rdoc@8412705721
  • Loading branch information
ydah authored and hsbt committed Jul 1, 2024
1 parent 01eb5c0 commit 15ceb95
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/rdoc/generator/pot/po_entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
2 changes: 1 addition & 1 deletion lib/rdoc/parser/changelog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def scan

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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions test/rdoc/test_rdoc_markdown_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ def test_markdown_documentation_syntax
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"),
Expand Down Expand Up @@ -1863,8 +1863,8 @@ def test_tabs
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

Expand Down

0 comments on commit 15ceb95

Please sign in to comment.