Better error when the first argument of assert_styles is wrong