diff run/t/throw_07_B.d @ 1613:70a23cb6a616

Fix incorrect run.t.throw_07_A/B tests
author Christian Kamm <kamm incasoftware de>
date Sun, 10 May 2009 12:10:34 +0200
parents b8c0195059d9
children
line wrap: on
line diff
--- a/run/t/throw_07_B.d	Sun May 10 11:55:53 2009 +0200
+++ b/run/t/throw_07_B.d	Sun May 10 12:10:34 2009 +0200
@@ -63,22 +63,19 @@
 	Tester t = new Tester(&foo);
 
 	try{
-		if(status++ != 5){
-			assert(0);
-		}
 		t.test();
 		assert(0);
 	}catch(XException e){
-		if(status++ != 6){
+		if(status++ != 5){
 			assert(0);
 		}
 	}finally{
-		if(status++ != 7){
+		if(status++ != 6){
 			assert(0);
 		}
 	}
 
-	if(status != 8){
+	if(status != 7){
 		assert(0);
 	}
 	return 0;