Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 8efb219

Browse files
authored
Remove 3 more pointless version(unittest)
1 parent 1772d04 commit 8efb219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/object.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2895,7 +2895,7 @@ void destroy(T)(T obj) if (is(T == interface))
28952895
destroy(cast(Object)obj);
28962896
}
28972897

2898-
version(unittest) unittest
2898+
unittest
28992899
{
29002900
interface I { }
29012901
{
@@ -2964,7 +2964,7 @@ void destroy(T)(ref T obj) if (is(T == struct))
29642964
} ();
29652965
}
29662966

2967-
version(unittest) nothrow @safe @nogc unittest
2967+
nothrow @safe @nogc unittest
29682968
{
29692969
{
29702970
struct A { string s = "A"; }
@@ -3084,7 +3084,7 @@ template _isStaticArray(T)
30843084
enum bool _isStaticArray = false;
30853085
}
30863086

3087-
version(unittest) unittest
3087+
unittest
30883088
{
30893089
{
30903090
int a = 42;

0 commit comments

Comments
 (0)