On Tuesday, 16 June 2020 at 06:19:51 UTC, Joel wrote:
I've tired different unit test libraries, but they jump out on
errors instead of just adding to failed numbers.
I'm thinking like this:
```
@("dummy");
unittset {
0.shouldEqual(0);
1.shouldEqual(2);
2.shouldEqual(3);
}
```
Test: dumm
I've tired different unit test libraries, but they jump out on
errors instead of just adding to failed numbers.
I'm thinking like this:
```
@("dummy");
unittset {
0.shouldEqual(0);
1.shouldEqual(2);
2.shouldEqual(3);
}
```
Test: dummy
test passed line 10: 0 is equal to 0
test failed line
On Friday, 12 June 2020 at 12:49:08 UTC, Steven Schveighoffer
wrote:
I was just looking through the DIPs in the system, and noticed
that DIP1000 is "superseded".
I thought that was odd, since it's in the compiler as a switch
and is a major driver of discussion and hope for memory safety.
In
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote:
On Monday, 15 June 2020 at 10:54:47 UTC, Per Nordlöw wrote:
What have I missed?
My mistake, dub dustmite expects a path to an temporary
directory suitable for dustmite (it copies the entire projet +
all dependencies s.t. dustm
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote:
My mistake, dub dustmite expects a path to an temporary
directory suitable for dustmite (it copies the entire projet +
all dependencies s.t. dustmite sees the entire source code).
That path needs to be somewhere outside of the pr
On Monday, 15 June 2020 at 17:32:26 UTC, Jean-Louis Leroy wrote:
[snip]
Thanks, cool.
On Monday, 15 June 2020 at 16:03:08 UTC, jmh530 wrote:
On Monday, 15 June 2020 at 13:17:11 UTC, Jean-Louis Leroy wrote:
[snip]
Nah, I saw it. Well. My take on it has been ready for months
but I had to wait for my employer's permission to publish it.
They are very open-source friendly, and as
On Monday, 15 June 2020 at 16:55:00 UTC, MoonlightSentinel wrote:
And these unittests trigger the segfault:
https://github.com/nordlow/phobos-next/blob/4a18833e226be0d3363fb07f02a7bcf531892e17/src/nxt/cyclic_array.d#L704-L712
https://github.com/nordlow/phobos-next/blob/4a18833e226be0d3363fb07f0
On Monday, 15 June 2020 at 10:54:47 UTC, Per Nordlöw wrote:
What have I missed?
My mistake, dub dustmite expects a path to an temporary directory
suitable for dustmite (it copies the entire projet + all
dependencies s.t. dustmite sees the entire source code). That
path needs to be somewhere
On Monday, 15 June 2020 at 13:17:11 UTC, Jean-Louis Leroy wrote:
[snip]
Nah, I saw it. Well. My take on it has been ready for months
but I had to wait for my employer's permission to publish it.
They are very open-source friendly, and as a consequence there
is a glut of requests for open-sour
On Sunday, 14 June 2020 at 18:49:01 UTC, jmh530 wrote:
On Sunday, 14 June 2020 at 17:19:05 UTC, Jean-Louis Leroy wrote:
[snip]
In case you missed it, I thought you would find this interesting
https://forum.dlang.org/thread/dytpsnkqnmgzniiwk...@forum.dlang.org
Nah, I saw it. Well. My take on
On Friday, 12 June 2020 at 21:29:06 UTC, MoonlightSentinel wrote:
You could try to reduce your code using Dustmite through dub.
This should do the job IIRC:
dub dustmite --compiler=dmd --build=unittest
--compiler-status=139
See `dub dustmite --help` for more details.
The call
dub du
12 matches
Mail list logo