Skip to content

Commit

Permalink
Fix a typo in a word 'paramater'
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Litvinenko authored and bbatsov committed Apr 24, 2019
1 parent f8b72bc commit 478b369
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
Expand Up @@ -54,7 +54,7 @@ class HeredocArgumentClosingParenthesis < Cop
include RangeHelp

MSG = 'Put the closing parenthesis for a method call with a ' \
'HEREDOC paramater on the same line as the HEREDOC opening.'.freeze
'HEREDOC parameter on the same line as the HEREDOC opening.'.freeze

STRING_TYPES = %i[str dstr xstr].freeze
def on_send(node)
Expand Down
Expand Up @@ -90,7 +90,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -108,7 +108,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -126,7 +126,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -144,7 +144,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -162,7 +162,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -180,7 +180,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -198,7 +198,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -216,7 +216,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -234,7 +234,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -254,7 +254,7 @@
bar
NOSQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -276,7 +276,7 @@
bar
NOSQL
).bar(123).baz(456)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -297,7 +297,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -315,7 +315,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -333,7 +333,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -351,7 +351,7 @@
foo
SQL
)
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
RUBY

expect_correction(<<-RUBY.strip_indent)
Expand All @@ -370,7 +370,7 @@
foo
SQL
),
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
456,
789,
)
Expand All @@ -396,7 +396,7 @@
foo
SQL
) ,
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
456,
789,
]
Expand Down Expand Up @@ -424,7 +424,7 @@
bar
NOSQL
) ,
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
456,
789,
]
Expand Down Expand Up @@ -454,7 +454,7 @@
bar
NOSQL
) ,
^ Put the closing parenthesis for a method call with a HEREDOC paramater on the same line as the HEREDOC opening.
^ Put the closing parenthesis for a method call with a HEREDOC parameter on the same line as the HEREDOC opening.
456,
789,
]
Expand Down

0 comments on commit 478b369

Please sign in to comment.