outdated description in "Mastering cmake"

In this chapter Testing With CMake and CTest — Mastering CMake


The descprition marked up is not found in the cmake code snippets.
When I click into ‘remove’ link, I find this command is deprecaded, so this sentence should be delete?Or the code shown above in the screenshot is not complete?

Yes, that looks like an outdated sentence to me. Please feel free to submit a patch to the book’s repository.