Mercurial > projects > dstress
diff run/t/typeinfo_03_A.d @ 1520:b5c0842014ef
adapted for DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:23:42 +0000 |
parents | 6666662e4363 |
children |
line wrap: on
line diff
--- a/run/t/typeinfo_03_A.d Fri Apr 27 17:22:49 2007 +0000 +++ b/run/t/typeinfo_03_A.d Fri Apr 27 17:23:42 2007 +0000 @@ -17,11 +17,10 @@ int* b = new int; *a = -10; *b = 10; - - if(-1 < t.compare(a, b)){ + if(t.compare(a, b) < 0){ assert(0); } - if(t.compare(b, a) < 1){ + if(0 < t.compare(b, a)){ assert(0); }