diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-07-31 04:25:30 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-07-31 04:25:30 -0600 |
| commit | e9733a03bc725daade57b0e46a21aa45f647030c (patch) | |
| tree | 0158955f9b1cdeef45a0ec65d5b0d155dfe43a4c /test/blocks_test.rb | |
| parent | e55f298e1ffc9c79168f8768146b2739d8c1504d (diff) | |
use single quoted string or use %() for interpolated string in test suite
Diffstat (limited to 'test/blocks_test.rb')
| -rw-r--r-- | test/blocks_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/blocks_test.rb b/test/blocks_test.rb index f89f31ac..1c8d4677 100644 --- a/test/blocks_test.rb +++ b/test/blocks_test.rb @@ -92,7 +92,7 @@ context 'Blocks' do output = convert_string_to_embedded input refute_match(/line comment/, output) assert_xpath '//p', output, 1 - assert_xpath "//p[1][text()='first line\nsecond line']", output, 1 + assert_xpath %(//p[1][text()='first line\nsecond line']), output, 1 end test 'comment block between paragraphs offset by blank lines' do @@ -337,7 +337,7 @@ context 'Blocks' do **** EOS result = convert_string input - assert_xpath "//*[@class='sidebarblock']//p", result, 1 + assert_xpath '//*[@class="sidebarblock"]//p', result, 1 end end |
