Skip to content

Commit

Permalink
Merge pull request #140 from pelson/selector_msg
Browse files Browse the repository at this point in the history
Selector msg
  • Loading branch information
pelson committed Apr 19, 2016
2 parents 6309643 + d91885f commit 2537af3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda_smithy/lint_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def lintify(meta, recipe_dir=None):
bad_selectors.append(selector_line)
if bad_selectors:
lints.append('Selectors are suggested to take a '
'" # [<selector>]" form.')
'``<two spaces>#<one space>[<expression>]`` form.')

# 7: The build section should have a build number.
if build_section.get('number', None) is None:
Expand Down
2 changes: 1 addition & 1 deletion conda_smithy/tests/test_lint_recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def test_test_section_with_recipe(self):

def test_selectors(self):
expected_message = ('Selectors are suggested to take a '
'" # [<selector>]" form.')
'``<two spaces>#<one space>[<expression>]`` form.')

with tmp_directory() as recipe_dir:
def assert_selector(selector, is_good=True):
Expand Down

0 comments on commit 2537af3

Please sign in to comment.