Skip to content

Commit

Permalink
Merge pull request #376 from braddr/fix-tests
Browse files Browse the repository at this point in the history
fallout from do/while changes
  • Loading branch information
WalterBright committed Sep 11, 2011
2 parents 3d5a476 + ba1d784 commit 495d9fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions test/compilable/extra-files/header.di
Expand Up @@ -120,8 +120,7 @@ do
{
x++;
}
while (x < 10);
try
while (x < 10);try
{
try
{
Expand Down
12 changes: 5 additions & 7 deletions test/runnable/extra-files/runnable-cov2.lst
Expand Up @@ -7,14 +7,12 @@
|int main()
|{
1| dmd_coverDestPath("test_results/runnable");
|
|
1| int counter = 20;
| do {
20| --counter;
| }
20| while(counter > 0)
|
1| return 0;
|}
cov2.d is 100% covered

20| while(counter > 0);
|
1| return 0;
|}

0 comments on commit 495d9fe

Please sign in to comment.