diff --git a/src/dawn/tests/unittests/RefBaseTests.cpp b/src/dawn/tests/unittests/RefBaseTests.cpp index dafdcf790d..6436c8a4ed 100644 --- a/src/dawn/tests/unittests/RefBaseTests.cpp +++ b/src/dawn/tests/unittests/RefBaseTests.cpp @@ -244,11 +244,7 @@ TEST(RefBase, RefMoveAssignmentSelf) { Ref& self = ref; events.clear(); - { - ref = std::move(self); - ref = std::move(self); - ref = std::move(self); - } + { ref = std::move(self); } EXPECT_THAT(events, testing::ElementsAre()); }