I suggest `ASSERT_FALSE(src.empty());`