On Friday, 11 June 2021 at 21:10:32 UTC, H. S. Teoh wrote:
On Fri, Jun 11, 2021 at 02:05:31PM -0700, H. S. Teoh wrote:
[...]
Huh, that doesn't look right. This was fixed since June last
year, so it *should* have made it into the latest compiler
releases already. Unless this one was missed
On Fri, Jun 11, 2021 at 02:05:31PM -0700, H. S. Teoh wrote:
[...]
> Huh, that doesn't look right. This was fixed since June last year, so it
> *should* have made it into the latest compiler releases already. Unless
> this one was missed somehow (but I doubt it).
[...]
Just checked on LDC 1.26.0,
On Fri, Jun 11, 2021 at 08:30:28PM +, Mike Brown via Digitalmars-d-learn
wrote:
> On Friday, 11 June 2021 at 16:28:48 UTC, H. S. Teoh wrote:
> > On Fri, Jun 11, 2021 at 03:20:49PM +, Mike Brown via
> > Digitalmars-d-learn wrote:
> > > On Friday, 11 June 2021 at 15:13:17 UTC, rikki
On Friday, 11 June 2021 at 16:28:48 UTC, H. S. Teoh wrote:
On Fri, Jun 11, 2021 at 03:20:49PM +, Mike Brown via
Digitalmars-d-learn wrote:
On Friday, 11 June 2021 at 15:13:17 UTC, rikki cattermole
wrote:
[...]
Right OK, mine says 1/1 unittests failed - but this should say
Modules?
I
On Fri, Jun 11, 2021 at 03:20:49PM +, Mike Brown via Digitalmars-d-learn
wrote:
> On Friday, 11 June 2021 at 15:13:17 UTC, rikki cattermole wrote:
[...]
> Right OK, mine says 1/1 unittests failed - but this should say
> Modules?
>
> I will interpret it as Modules, ty!
This is a bug that was
On Friday, 11 June 2021 at 15:13:17 UTC, rikki cattermole wrote:
rdmd -main -unittest file.d
```d
import std.stdio;
unittest
{
writeln("first");
}
unittest
{
writeln("second");
assert(0);
}
```
Output:
```
first
second
onlineapp.d(11): [unittest] unittest failure
1/1 modules
rdmd -main -unittest file.d
```d
import std.stdio;
unittest
{
writeln("first");
}
unittest
{
writeln("second");
assert(0);
}
```
Output:
```
first
second
onlineapp.d(11): [unittest] unittest failure
1/1 modules FAILED unittests
```
The first assert to execute should kill the
Hi all,
I'm testing the unittest features of D, and having some issues. I
only seem able to fire one unittest, e.g.
module test;
unittest {
assert(0);
}
unittest {
assert(0);
}
If I run,
rdmd -g -unittest -main "test.d"
It returns,
1/1 unittests FAILED