assert that component has dash

In response to #4599