kramdown / parser-gfm

kramdown-parser-gfm provides a kramdown parser for the GFM dialect of Markdown
Other
56 stars 14 forks source link

Define test methods with a shorter name #7

Closed ashmaroli closed 5 years ago

ashmaroli commented 5 years ago

Currently on master, failing tests show that tests are defined unnecessarily long:

TestFiles#test_gfm_/home/github/kramdown/parser-gfm/test/testcases/backticks_syntax_text_to_html
[/home/github/kramdown/parser-gfm/test/test_files.rb:32]:

With the proposed change, the test names are shortened to be independent of user directory:

TestFiles#test_gfm_backticks_syntax_to_html
[/home/github/kramdown/parser-gfm/test/test_files.rb:32]: