187 return sw.toString(); |
187 return sw.toString(); |
188 } |
188 } |
189 |
189 |
190 void verify(String output) { |
190 void verify(String output) { |
191 System.out.println(output); |
191 System.out.println(output); |
|
192 if (output.startsWith("Classfile")) { |
|
193 // make sure to ignore filename |
|
194 output = output.substring(output.indexOf('\n')); |
|
195 } |
192 if (output.indexOf("-") >= 0) |
196 if (output.indexOf("-") >= 0) |
193 throw new Error("- found in output"); |
197 throw new Error("- found in output"); |
194 if (output.indexOf("FFFFFF") >= 0) |
198 if (output.indexOf("FFFFFF") >= 0) |
195 throw new Error("FFFFFF found in output"); |
199 throw new Error("FFFFFF found in output"); |
196 } |
200 } |