[ConstantRange] Add missing result check to the ConstantRange::truncate test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper 2017-06-04 23:03:52 +00:00
parent c8ea9add3e
commit e6cc2d00d9

View File

@ -187,6 +187,7 @@ TEST_F(ConstantRangeTest, Trunc) {
EXPECT_EQ(TOne, ConstantRange(One.getLower().trunc(10),
One.getUpper().trunc(10)));
EXPECT_TRUE(TSome.isFullSet());
EXPECT_TRUE(TWrap.isFullSet());
}
TEST_F(ConstantRangeTest, ZExt) {