Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #1129

Merged
merged 4 commits into from
Jun 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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