summaryrefslogtreecommitdiff
path: root/test/parser_test.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-11-28 23:03:58 -0700
committerDan Allen <dan.j.allen@gmail.com>2016-11-28 23:03:58 -0700
commit14bfc8433523d634eb089f3a1488026a24faa003 (patch)
tree576b9388279cd36dff6e68f08fa68e4e7c3f0061 /test/parser_test.rb
parent64adfeb5d33b0fcdddbb2351750f3d3efb995764 (diff)
fix warnings; remove warn statement in test suite
Diffstat (limited to 'test/parser_test.rb')
-rw-r--r--test/parser_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parser_test.rb b/test/parser_test.rb
index 0cbc3f62..bb849336 100644
--- a/test/parser_test.rb
+++ b/test/parser_test.rb
@@ -457,7 +457,7 @@ context "Parser" do
test 'parse name with more than 3 parts in author attribute' do
doc = empty_document
- metadata, _ = parse_header_metadata ':author: Leroy Harold Scherer, Jr.', doc
+ parse_header_metadata ':author: Leroy Harold Scherer, Jr.', doc
assert_equal 'Leroy Harold Scherer, Jr.', doc.attributes['author']
assert_equal 'Leroy', doc.attributes['firstname']
assert_equal 'Harold', doc.attributes['middlename']