File tree Expand file tree Collapse file tree
quickcheck/src/main/java/fj/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import fj .Show ;
66import fj .data .List ;
77import fj .data .Option ;
8+ import fj .function .Strings ;
9+
810import static fj .data .Option .some ;
911import static fj .Show .listShow ;
1012import static fj .Show .showS ;
@@ -252,12 +254,12 @@ else if (r.isPropException()) {
252254 final StringWriter sw = new StringWriter ();
253255 final PrintWriter pw = new PrintWriter (sw );
254256 r .exception ().some ().printStackTrace (pw );
255- return "Exception on property evaluation with " + arguments (r ) + System . getProperty ( "line.separator" ) + sw ;
257+ return "Exception on property evaluation with " + arguments (r ) + Strings . lineSeparator + sw ;
256258 } else if (r .isGenException ()) {
257259 final StringWriter sw = new StringWriter ();
258260 final PrintWriter pw = new PrintWriter (sw );
259261 r .exception ().some ().printStackTrace (pw );
260- return "Exception on argument generation " + System . getProperty ( "line.separator" ) + sw ;
262+ return "Exception on argument generation " + Strings . lineSeparator + sw ;
261263 } else
262264 throw decons (r .getClass ());
263265 }
You can’t perform that action at this time.
0 commit comments