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