equal
deleted
inserted
replaced
73 String expect = "error: Bad service configuration file, " + |
73 String expect = "error: Bad service configuration file, " + |
74 "or exception thrown while constructing Processor object: " + |
74 "or exception thrown while constructing Processor object: " + |
75 "javax.annotation.processing.Processor: " + |
75 "javax.annotation.processing.Processor: " + |
76 "Provider AnnoProc could not be instantiated: java.lang.Error\n" + |
76 "Provider AnnoProc could not be instantiated: java.lang.Error\n" + |
77 "1 error"; |
77 "1 error"; |
78 if (!out.trim().equals(expect)) { |
78 String lineSeparator = System.getProperty("line.separator"); |
|
79 if (!out.trim().replace(lineSeparator, "\n").equals(expect)) { |
79 System.err.println("expected: " + expect); |
80 System.err.println("expected: " + expect); |
80 error("output not as expected"); |
81 error("output not as expected"); |
81 } |
82 } |
82 |
83 |
83 if (rc == 0) { |
84 if (rc == 0) { |