summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-06-25 03:41:46 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-06-25 03:41:46 -0600
commit49d08478f5d3b487d542ad1322e95e53054ea2f2 (patch)
tree187305a9386c4b7d2efb888304ef3292b5ea1b4d /test
parentf62c9383791535b0f858efdff4361a0396f418ff (diff)
remove trailing spaces
Diffstat (limited to 'test')
-rw-r--r--test/paths_test.rb2
-rw-r--r--test/sections_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/paths_test.rb b/test/paths_test.rb
index 558fefce..c26ce89c 100644
--- a/test/paths_test.rb
+++ b/test/paths_test.rb
@@ -216,7 +216,7 @@ context 'Path Resolver' do
result, warnings = redirect_streams do |_, err|
[(@resolver.system_path '', '../assets/images', JAIL), err.string]
end
- assert_equal %(#{JAIL}/assets/images), result
+ assert_equal %(#{JAIL}/assets/images), result
assert_includes warnings, 'path has illegal reference to ancestor of jail'
end
diff --git a/test/sections_test.rb b/test/sections_test.rb
index 3db5347c..84304598 100644
--- a/test/sections_test.rb
+++ b/test/sections_test.rb
@@ -1274,7 +1274,7 @@ content
doc = document_from_string input
second_section = Asciidoctor::Section.new doc
- doc.blocks.insert 1, second_section
+ doc.blocks.insert 1, second_section
doc.reindex_sections
sections = doc.sections
[0, 1, 2].each do |index|