Tests files.
()
| 19 | * Tests files. |
| 20 | */ |
| 21 | @Test public void test() { |
| 22 | try { |
| 23 | final ArrayOutput ao = new ArrayOutput(); |
| 24 | System.setErr(new PrintStream(ao)); |
| 25 | Lang.check(); |
| 26 | if(ao.size() != 0) fail(ao.toString()); |
| 27 | } finally { |
| 28 | System.setErr(ERR); |
| 29 | } |
| 30 | } |
| 31 | } |