Skip to content

Commit

Permalink
Remove MSVC special case in 'Object copy counts' unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
totalgee committed Sep 4, 2020
1 parent dd69230 commit cb9a858
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions unittests/compiled_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,15 +713,8 @@ TEST_CASE("Object copy counts")

CHECK(Object_Copy_Count_Test::copycount() == 0);
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::movecount() == 1);
#endif
}


Expand Down

0 comments on commit cb9a858

Please sign in to comment.