Skip to content

Commit 8412705

Browse files
authored
Fix some typos (#1129)
* constist ==> consist * Tidyness ==> Tidiness * Currentry ==> Currently * valus ==> values
1 parent 4b84660 commit 8412705

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/rdoc/generator/pot/po_entry.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class RDoc::Generator::POT::POEntry
2323
attr_reader :flags
2424

2525
##
26-
# Creates a PO entry for +msgid+. Other valus can be specified by
26+
# Creates a PO entry for +msgid+. Other values can be specified by
2727
# +options+.
2828

2929
def initialize msgid, options = {}

lib/rdoc/parser/changelog.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def scan
221221

222222
module Git
223223
##
224-
# Parses auxiliary info. Currentry `base-url` to expand
224+
# Parses auxiliary info. Currently `base-url` to expand
225225
# references is effective.
226226

227227
def parse_info(info)

test/rdoc/MarkdownTest_1.0.3/Markdown Documentation - Syntax.text

+1-1
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ or tabs for padding, which tends to look better with longer URLs:
608608
Link definitions are only used for creating links during Markdown
609609
processing, and are stripped from your document in the HTML output.
610610

611-
Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links:
611+
Link definition names may consist of letters, numbers, spaces, and punctuation -- but they are *not* case sensitive. E.g. these two links:
612612

613613
[link text][a]
614614
[link text][A]

test/rdoc/test_rdoc_markdown_test.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ def test_markdown_documentation_syntax
14011401
para("Link definitions are only used for creating links during Markdown\n" +
14021402
"processing, and are stripped from your document in the HTML output."),
14031403

1404-
para("Link definition names may constist of letters, numbers, spaces, and punctuation -- but they are _not_ case sensitive. E.g. these two links:"),
1404+
para("Link definition names may consist of letters, numbers, spaces, and punctuation -- but they are _not_ case sensitive. E.g. these two links:"),
14051405

14061406
verb("[link text][a]\n",
14071407
"[link text][A]\n"),
@@ -1863,8 +1863,8 @@ def test_tabs
18631863
assert_equal expected, doc
18641864
end
18651865

1866-
def test_tidyness
1867-
input = File.read "#{MARKDOWN_TEST_PATH}/Tidyness.text"
1866+
def test_tidiness
1867+
input = File.read "#{MARKDOWN_TEST_PATH}/Tidiness.text"
18681868

18691869
doc = @parser.parse input
18701870

0 commit comments

Comments
 (0)