mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Test that you can’t move left from the leftmost child of a branch.
This commit is contained in:
parent
1444acf2a2
commit
3d0a53a6b4
@ -23,6 +23,10 @@ final class LocationTests: XCTestCase {
|
||||
func testCanMoveBackUpwards() {
|
||||
assert(term.explore().down?.up?.it, ==, term)
|
||||
}
|
||||
|
||||
func testCannotMoveLeftwardsFromFirstChildOfBranch() {
|
||||
assert(term.explore().down?.left?.it, ==, nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user