codahale/metrics — pull request #388 by ceetav (2013-05-03 22:32:26+00:00)
Title: Windows : Metrics Utility Servlets : AdminServletTest failure

Caused by Windows line endings, as AdminServlet println() generates last line ending as \r\n vs test expected \n.

```
Metrics Integration for Log4j ..................... SUCCESS [7.424s]
Metrics Integration for Logback ................... SUCCESS [7.323s]
Metrics Integration for Servlets .................. SUCCESS [6.816s]
Metrics Utility Servlets .......................... FAILURE [2.315s]
```

```
-------------------------------------------------------------------------------
Test set: com.codahale.metrics.servlets.AdminServletTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.62 sec <<< FAILURE!
returnsA200(com.codahale.metrics.servlets.AdminServletTest) Time elapsed: 0.001 sec <<< FAILURE!
org.junit.ComparisonFailure: expected:<.../ul>

[]
'> but was:<.../ul>

[
]
'>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at com.codahale.metrics.servlets.AdminServletTest.returnsA200(AdminServletTest.java:37)
```