Skip to content

Commit

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

* Tidyness ==> Tidiness

* Currentry ==> Currently

* valus ==> values
  • Loading branch information
ydah authored Jun 30, 2024
1 parent 4b84660 commit 8412705
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 8412705

Please sign in to comment.