summaryrefslogtreecommitdiff
path: root/test/parser_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2015-12-29 02:38:08 -0700
committerDan Allen <dan.j.allen@gmail.com>2015-12-29 02:38:08 -0700
commit472a7e92c11bb99a266bcd38366104fb2c20463b (patch)
tree2b163aea050151b358a7f95d80ee2100a56451fd /test/parser_test.rb
parent1f1a80eb9f59173da4227dc7b13a1904f3241178 (diff)
remove trailing endlines in source
Diffstat (limited to 'test/parser_test.rb')
-rw-r--r--test/parser_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parser_test.rb b/test/parser_test.rb
index 12024e48..7a1237d9 100644
--- a/test/parser_test.rb
+++ b/test/parser_test.rb
@@ -118,7 +118,7 @@ context "Parser" do
line = 'height=100,caption="",link="images/octocat.png"'
expected = {'height' => '100', 'caption' => '', 'link' => 'images/octocat.png'}
Asciidoctor::AttributeList.new(line).parse_into(attributes)
- assert_equal expected, attributes
+ assert_equal expected, attributes
end
test "collect named attribute single-quoted" do
@@ -134,7 +134,7 @@ context "Parser" do
line = "height=100,caption='',link='images/octocat.png'"
expected = {'height' => '100', 'caption' => '', 'link' => 'images/octocat.png'}
Asciidoctor::AttributeList.new(line).parse_into(attributes)
- assert_equal expected, attributes
+ assert_equal expected, attributes
end
test "collect named attributes unquoted" do
@@ -688,9 +688,9 @@ devtmpfs 3.9G 0 3.9G 0% /dev
test 'preserve block indent if indent is -1' do
input = <<-EOS
def names
-
+
@name.split ' '
-
+
end
EOS