[svn r294] Fixed some more of the old tests.

This commit is contained in:
Tomas Lindquist Olsen
2008-06-18 23:29:14 +02:00
parent 122ac3f195
commit af6ca8fe85
5 changed files with 10 additions and 6 deletions

View File

@@ -4,11 +4,9 @@ extern(C) int printf(char*, ...);
void main()
{
ModuleInfo[] mi = ModuleInfo.modules();
printf("listing %u modules:\n");
foreach(m; mi)
printf("listing modules:\n");
foreach(m; ModuleInfo)
{
printf(" %s\n", m.name.length, m.name.ptr);
printf(" %.*s\n", m.name.length, m.name.ptr);
}
assert(mi.length > 50);
}