mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 05:30:33 +03:00
remove empty ; statements
This commit is contained in:
parent
380ae65511
commit
187ee7133d
1 changed files with 16 additions and 16 deletions
32
unittest.d
32
unittest.d
|
@ -67,24 +67,24 @@ version (all)
|
|||
{
|
||||
// Bring in unit test for module by referencing function in it
|
||||
|
||||
cmp("foo", "bar"); // string
|
||||
fncharmatch('a', 'b'); // path
|
||||
isNaN(1.0); // math
|
||||
std.conv.to!double("1.0"); // std.conv
|
||||
OutBuffer b = new OutBuffer(); // outbuffer
|
||||
std.ctype.tolower('A'); // ctype
|
||||
RegExp r = new RegExp(null, null); // regexp
|
||||
cmp("foo", "bar"); // string
|
||||
fncharmatch('a', 'b'); // path
|
||||
isNaN(1.0); // math
|
||||
std.conv.to!double("1.0"); // std.conv
|
||||
OutBuffer b = new OutBuffer(); // outbuffer
|
||||
std.ctype.tolower('A'); // ctype
|
||||
RegExp r = new RegExp(null, null); // regexp
|
||||
uint ranseed = std.random.unpredictableSeed();
|
||||
thisTid();
|
||||
int a[];
|
||||
a.reverse; // adi
|
||||
a.sort; // qsort
|
||||
std.date.getUTCtime(); // date
|
||||
a.reverse; // adi
|
||||
a.sort; // qsort
|
||||
std.date.getUTCtime(); // date
|
||||
Exception e = new ReadException(""); // stream
|
||||
din.eof(); // cstream
|
||||
isValidDchar(cast(dchar)0); // utf
|
||||
std.uri.ascii2hex(0); // uri
|
||||
std.zlib.adler32(0,null); // D.zlib
|
||||
isValidDchar(cast(dchar)0); // utf
|
||||
std.uri.ascii2hex(0); // uri
|
||||
std.zlib.adler32(0,null); // D.zlib
|
||||
auto t = task!cmp("foo", "bar"); // parallelism
|
||||
|
||||
ubyte[16] buf;
|
||||
|
@ -97,7 +97,7 @@ version (all)
|
|||
|
||||
printf("args.length = %d\n", args.length);
|
||||
for (int i = 0; i < args.length; i++)
|
||||
printf("args[%d] = '%s'\n", i, cast(char *)args[i]);
|
||||
printf("args[%d] = '%s'\n", i, cast(char *)args[i]);
|
||||
|
||||
int[3] x;
|
||||
x[0] = 3;
|
||||
|
@ -117,8 +117,8 @@ version (all)
|
|||
|
||||
std.file.exists("foo");
|
||||
|
||||
foreach_reverse (dchar d; "hello"c) { ; }
|
||||
foreach_reverse (k, dchar d; "hello"c) { ; }
|
||||
foreach_reverse (dchar d; "hello"c) { }
|
||||
foreach_reverse (k, dchar d; "hello"c) { }
|
||||
|
||||
std.signals.linkin();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue