diff --git a/CMakeLists.txt b/CMakeLists.txt index fe6400e..e33d5aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set(BINARY_NAME "mioc") set(CMAKE_CXX_STANDARD 11) project(${PROJECT_NAME} - VERSION 1.2.1 + VERSION 1.2.3 DESCRIPTION "A mini IoC implementation with C++" LANGUAGES CXX) diff --git a/tests/AssignmentTest.cpp b/tests/AssignmentTest.cpp index ebfae91..64c8b01 100644 --- a/tests/AssignmentTest.cpp +++ b/tests/AssignmentTest.cpp @@ -30,7 +30,7 @@ TEST_CASE("Assignment") // Move container. mioc::ServiceContainerPtr containerC = mioc::ServiceContainer::New(); - *containerC = std::move(*containerA); + *containerC = std::move(*containerB); CHECK_EQ(containerC->Resolve()->ToString(), a1->ToString()); CHECK_EQ(containerC->Resolve()->ToString(), b1->ToString()); CHECK_EQ(containerC->Resolve(), nullptr);