Skip to content

Commit e8a0462

Browse files
committed
Test Git Integration page
1 parent 0c9664a commit e8a0462

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

sublime-text-dashing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ selectors:
3131

3232
# Git Status badges
3333
'#status-badge-key .badges li':
34-
type: Enum
34+
type: Attribute
3535
matchpath: '/git_integration\.html$'
3636

3737
# Commands and menus

test/test_docset.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,16 @@ class SublimeMergeDocsetTestCase(DocsetTestCaseBase):
8888
class SublimeTextDocsetTestCase(DocsetTestCaseBase):
8989
NAME = 'sublime-text.docset'
9090

91+
def test_git_integration(self):
92+
contains = [
93+
('Guide', 'Git Integration'),
94+
('Attribute', 'Staged Modification'),
95+
('Section', 'Diff Markers'),
96+
('Command', 'Open Git Repository…'),
97+
('Command', 'Sublime Merge: Folder History'),
98+
]
99+
self._test_a_doc_page_index('docs/git_integration.html', contains)
100+
91101
def test_api_reference(self):
92102
contains = [
93103
('Guide', 'API Reference'),

0 commit comments

Comments
 (0)