[wp-trac] [WordPress Trac] #31430: Tests_Post_Template::test_wp_dropdown_pages is failing

WordPress Trac noreply at wordpress.org
Tue Feb 24 10:13:12 UTC 2015


#31430: Tests_Post_Template::test_wp_dropdown_pages is failing
-------------------------------+-----------------------------
 Reporter:  valendesigns       |       Owner:  SergeyBiryukov
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  needs-patch        |     Focuses:
-------------------------------+-----------------------------

Comment (by valendesigns):

 Replying to [comment:3 SergeyBiryukov]:
 > Apparently patching unit test files with `grunt patch` on Windows
 changes line endings.
 >
 > We should probably set `svn:eol-style` to native for test files, like we
 did for core, but that breaks some tests that use the heredoc syntax
 (`<<<`), like `Tests_Post_Template::test_wp_dropdown_pages()` here.
 >
 > [31531] fixes the issue at hand for now.

 Could we safely update the tests to use a different syntax?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31430#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list