mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-09 03:06:50 +08:00
Remove MSVC special case in 'Object copy counts' unit test
This commit is contained in:
parent
dd69230f19
commit
cb9a8587b6
@ -713,15 +713,8 @@ TEST_CASE("Object copy counts")
|
|||||||
|
|
||||||
CHECK(Object_Copy_Count_Test::copycount() == 0);
|
CHECK(Object_Copy_Count_Test::copycount() == 0);
|
||||||
CHECK(Object_Copy_Count_Test::constructcount() == 1);
|
CHECK(Object_Copy_Count_Test::constructcount() == 1);
|
||||||
|
|
||||||
|
|
||||||
#ifdef CHAISCRIPT_MSVC
|
|
||||||
CHECK(Object_Copy_Count_Test::destructcount() == 3);
|
|
||||||
CHECK(Object_Copy_Count_Test::movecount() == 2);
|
|
||||||
#else
|
|
||||||
CHECK(Object_Copy_Count_Test::destructcount() == 2);
|
CHECK(Object_Copy_Count_Test::destructcount() == 2);
|
||||||
CHECK(Object_Copy_Count_Test::movecount() == 1);
|
CHECK(Object_Copy_Count_Test::movecount() == 1);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user