X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fvariant.cpp;h=8ec89722197f4742e17164f2f251741c8a6ebd62;hb=3ba20e3ddde250a78ab2410012551eb60304f766;hp=99cacdf29eb3ff550f509aa575ba54b491ac45dc;hpb=120023d8da0aabcb803a87111608ce84c94661f8;p=libs%2Fcore.git diff --git a/tests/variant.cpp b/tests/variant.cpp index 99cacdf..8ec8972 100644 --- a/tests/variant.cpp +++ b/tests/variant.cpp @@ -99,11 +99,11 @@ void VariantTests::destruction() void VariantTests::types() { Variant var = 42U; - EXPECT(!var.check_type()); - EXPECT(var.check_type()); - EXPECT(!var.check_type()); - EXPECT(!var.check_type()); - EXPECT(!var.check_type()); + EXPECT(!var.has_type()); + EXPECT(var.has_type()); + EXPECT(!var.has_type()); + EXPECT(!var.has_type()); + EXPECT(!var.has_type()); } void VariantTests::mismatch()