Alex Saluk

Results 12 comments of Alex Saluk

Yes, I have the line break

One more consideration is not to break some old migrations which might use similar syntax in statements and were not going to use replacements.

The most obvious: ```java a("one line\r\nanother line").equalIgnoringWhiteSpace("one line\nanother line") ``` For easier test reading: ```java //looks like {"code":200,"message":"all is good","details":["detail1","etc"]}; String result = service.getResponse(); /* this is nicely formated JSON:...

@ipolevoy It's not only JSON - HMTL, XML which could be hundreds of lines for comparing on various systems.

I believe the tested value could be either equal or not equal to the same value at the same time. It's not NaN, NULL or Infinity. If JSpec promotes all...

respective issue in xstream: https://github.com/x-stream/xstream/issues/101

One more option is to add a simple converter for Models: ```java public class ModelConverter implements Converter { @Override public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) { Model model...

The same could be done for CaseInsentitiveMap and some collections which are not currently supported by XStream: List.of, Arrays.asList. XStream already has some converters for collections, which could be reused:...