diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-11-12 23:55:22 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-11-13 03:33:29 -0700 |
| commit | 3093dca74f7e21fcc60abfb18bf1510230e3a38c (patch) | |
| tree | 1adb333232043c078e10eba201303a3dbb8d001c /test/parser_test.rb | |
| parent | 0b073affa82bad82817b50f1cf495af1256bbb12 (diff) | |
fix lint error
Diffstat (limited to 'test/parser_test.rb')
| -rw-r--r-- | test/parser_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parser_test.rb b/test/parser_test.rb index 860ffaf3..fe263fbd 100644 --- a/test/parser_test.rb +++ b/test/parser_test.rb @@ -399,8 +399,8 @@ context 'Parser' do EOS doc = empty_document metadata = parse_header_metadata input, doc - assert_equal metadata['authorcount'], 3 - assert_equal doc.attributes['authorcount'], 3 + assert_equal 3, metadata['authorcount'] + assert_equal 3, doc.attributes['authorcount'] assert_equal 'Stuart Rackham, Dan Allen, Sarah White', doc.attributes['authors'] assert_equal 'Stuart Rackham', doc.attributes['author_1'] assert_equal 'Dan Allen', doc.attributes['author_2'] |
