You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/11/23 15:47:33 UTC

[jira] Commented: (WW-2335) Failure in StreamResultTest

    [ https://issues.apache.org/struts/browse/WW-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42708 ] 

Antonio Petrelli commented on WW-2335:
--------------------------------------

Probably it depends on the fact that Windows machines use 2 bytes to represent the "new line", instead of one (but different) under Mac OS (probably only 9 and before) and Unices.

> Failure in StreamResultTest
> ---------------------------
>
>                 Key: WW-2335
>                 URL: https://issues.apache.org/struts/browse/WW-2335
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Unit Tests
>         Environment: WinXP, Other Windows versions?
>            Reporter: Nils-Helge Garli
>
> StreamResultTest fails on WinXP. It appears to run successfully on Linux. The problem is the content length of the file that is read in the test. To me it looks like the assert should take the computed value of the content length instead of a hard coded value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.