[wp-trac] [WordPress Unit Tests] #138: Last test_wp_unique_filename() test fails when space is in path
WordPress Trac
noreply at wordpress.org
Wed Oct 31 21:31:33 UTC 2012
#138: Last test_wp_unique_filename() test fails when space is in path
--------------------------+------------------
Reporter: Viper007Bond | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Uploads | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Comment (by Viper007Bond):
Sorry, the expected was wrong. I accidentally copied it while in the
middle of trying to fix it. Here is the correct error:
{{{
1) Tests_Functions::test_wp_unique_filename
D:\My Documents\Dropbox\htdocs\wordpress-unit-
tests\includes/../data/images/test-image-with-path.png
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'DMy DocumentsDropboxhtdocswordpress-unit-testsincludes..dataimagestest-
image-with-path.png'
+'DMy-DocumentsDropboxhtdocswordpress-unit-testsincludes..dataimagestest-
image-with-path.png'
}}}
--
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/138#comment:1>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project
More information about the wp-trac
mailing list