mirror of
https://github.com/dlang-community/dfmt.git
synced 2025-04-25 21:00:03 +03:00
parent
28b32d9d77
commit
79ae2c09d0
3 changed files with 47 additions and 0 deletions
16
tests/allman/issue0195.d.ref
Normal file
16
tests/allman/issue0195.d.ref
Normal file
|
@ -0,0 +1,16 @@
|
|||
void main()
|
||||
{
|
||||
auto myTid = runTask({
|
||||
auto conn = connectTCP("localhost", 4222);
|
||||
|
||||
auto l = Lexer(conn);
|
||||
foreach (t; l)
|
||||
{
|
||||
|
||||
}
|
||||
conn.close();
|
||||
});
|
||||
|
||||
// foo
|
||||
runEventLoop();
|
||||
}
|
17
tests/issue0195.d
Normal file
17
tests/issue0195.d
Normal file
|
@ -0,0 +1,17 @@
|
|||
void main()
|
||||
{
|
||||
auto myTid = runTask({
|
||||
auto conn = connectTCP("localhost", 4222);
|
||||
|
||||
auto l = Lexer(conn);
|
||||
foreach (t;
|
||||
l)
|
||||
{
|
||||
|
||||
}
|
||||
conn.close();
|
||||
});
|
||||
|
||||
// foo
|
||||
runEventLoop();
|
||||
}
|
14
tests/otbs/issue0195.d.ref
Normal file
14
tests/otbs/issue0195.d.ref
Normal file
|
@ -0,0 +1,14 @@
|
|||
void main() {
|
||||
auto myTid = runTask({
|
||||
auto conn = connectTCP("localhost", 4222);
|
||||
|
||||
auto l = Lexer(conn);
|
||||
foreach (t; l) {
|
||||
|
||||
}
|
||||
conn.close();
|
||||
});
|
||||
|
||||
// foo
|
||||
runEventLoop();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue