Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
package_control_channel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
package_control_channel
Commits
f89d2737
Commit
f89d2737
authored
Nov 22, 2013
by
joneshf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better error message for sublime_text field. re: #2387
parent
ffda25c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
test.py
tests/test.py
+5
-1
No files found.
tests/test.py
View file @
f89d2737
...
...
@@ -226,7 +226,11 @@ class TestContainer(object):
self
.
assertRegex
(
v
,
'^https?://'
)
if
k
==
'sublime_text'
:
self
.
assertRegex
(
v
,
'^(
\
*|<=?
\
d{4}|>=?
\
d{4})$'
)
self
.
assertRegex
(
v
,
'^(
\
*|<=?
\
d{4}|>=?
\
d{4})$'
,
'sublime_text must be `*` or of the form '
'<relation><version> '
'where <relation> is one of {<, <=, >, >=} '
'and <version> is a 4 digit number'
)
if
k
==
'platforms'
:
self
.
assertIsInstance
(
v
,
(
str
,
list
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment