File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ Feature : Parse revision specified on command line
2+
3+ Scenario : HEAD
4+ Given command line: glv HEAD
5+ Then found revision
6+
7+ Scenario : Branch
8+ Given command line: glv master
9+ Then found revision
10+
11+ Scenario : Short Commit
12+ Given command line: glv 03de9b6
13+ Then found revision
14+
15+ Scenario : Short Commit Range
16+ Given command line: glv 840a98e..03de9b6
17+ When found revision
18+ Then revision log has 9 commits
19+
20+ Scenario : Open Range
21+ Given command line: glv 840a98e..
22+ When found revision
23+ Then revision log has more then 9 commits
24+
25+ Scenario : HEAD Range
26+ Given command line: glv HEAD~2..HEAD
27+ When found revision
28+ Then revision log has 2 commits
29+
30+ Scenario : HEAD Open range
31+ Given command line: glv HEAD~2..
32+ When found revision
33+ Then revision log has 2 commits
You can’t perform that action at this time.
0 commit comments