Duplicate selectors are indeed fine and shouldn't cause errors. You want to use them to up specificity.
The test contains an error where we complain about a duplicate value for ":hover:hover"