Skip to content

Commit

Permalink
Use two letters for min crate name length verification
Browse files Browse the repository at this point in the history
  • Loading branch information
0rzech committed Dec 12, 2022
1 parent bc5530a commit 58861e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/init/crate-name-validation/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def assert_that(name, fails_with):
assert_match(fails_with, p.out)

# Min length
assert_that(name='a', fails_with='.*Identifier too short.*')
assert_that(name='aa', fails_with='.*Identifier too short.*')

# Max length
assert_that(name='a' * 65, fails_with='.*Identifier too long.*')
Expand Down

0 comments on commit 58861e5

Please sign in to comment.