Skip to content

Commit

Permalink
Fixed name of string test
Browse files Browse the repository at this point in the history
Update #414
  • Loading branch information
eugenwintersberger committed Sep 2, 2019
1 parent 791eec1 commit df7a6ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/stl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set(test_sources
${test_sources}
${dir}/vector_memory_adapter_test.cpp
${dir}/complex_datatype_trait_test.cpp
${dir}/fixed_utf8_string_test.cpp
${dir}/string_types_test.cpp
PARENT_SCOPE)
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ TYPED_TEST(BaseStringTest, test_copy_assignment)
{
TypeParam new_string;
new_string = this->original_string;
EXPECT_EQ(this->original_string, new_string);
}

TYPED_TEST(BaseStringTest, test_move_assignment)
{
TypeParam new_string;
new_string = std::move(this->original_string);
new_string = std::move(this->temp_string);
EXPECT_EQ(this->original_string, new_string);
}

0 comments on commit df7a6ed

Please sign in to comment.