Fix unit test. See #2.

This commit is contained in:
Sönke Ludwig 2016-01-27 23:11:32 +01:00
parent 00d138d940
commit 89e90b962f

View file

@ -199,7 +199,7 @@ struct TaggedAlgebraic(U) if (is(U == union) || is(U == struct))
assert(ta.kind == TA.Kind.integer);
assert(ta == 12);
assert(cast(int)ta == 12);
assert(cast(short)ta == 12);
assert(cast(long)ta == 12);
ta += 12;
assert(ta == 24);