File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ public static void testSetOut() {
248
248
PrintStream originalOut = System .out ;
249
249
try {
250
250
PrintStream newOut = new PrintStream (new ByteArrayOutputStream ());
251
- System .setErr (newOut );
251
+ System .setOut (newOut );
252
252
assertEquals (newOut , System .out );
253
253
} finally {
254
254
System .setOut (originalOut );
@@ -282,10 +282,10 @@ public static void main(String[] args) {
282
282
testCurrentTimeMillis ();
283
283
testExit ();
284
284
testGc ();
285
- testGetenv ();
286
285
testGetProperties ();
287
286
testGetProperty ();
288
287
testGetSecurityManager ();
288
+ testGetenv ();
289
289
testIdentityHashCode ();
290
290
testInheritedChannel ();
291
291
testLoad ();
@@ -295,8 +295,7 @@ public static void main(String[] args) {
295
295
testRunFinalization ();
296
296
testSetErr ();
297
297
testSetIn ();
298
- // FIXME: FAILS
299
- // testSetOut();
298
+ testSetOut ();
300
299
testSetProperties ();
301
300
testSetSecurityManager ();
302
301
}
You can’t perform that action at this time.
0 commit comments