Annotate typecons unittests
This commit is contained in:
parent
54bcec216e
commit
e77a499fa2
@ -92,7 +92,7 @@ template Pair(Specs...)
|
|||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
unittest
|
@nogc nothrow pure @safe unittest
|
||||||
{
|
{
|
||||||
static assert(is(Pair!(int, int)));
|
static assert(is(Pair!(int, int)));
|
||||||
static assert(!is(Pair!(int, 5)));
|
static assert(!is(Pair!(int, 5)));
|
||||||
|
Loading…
Reference in New Issue
Block a user