X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fvariant.cpp;h=8ec89722197f4742e17164f2f251741c8a6ebd62;hb=83fcabb1fc1acff5d115f07253f801fc3f7cca9a;hp=99cacdf29eb3ff550f509aa575ba54b491ac45dc;hpb=d16185720fa344263367dbd50c61bfc8183d99a4;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()