mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
Test that exploration starts at a root.
This commit is contained in:
parent
1ec85928a3
commit
23725c7fd6
@ -2,6 +2,10 @@ final class LocationTests: XCTestCase {
|
||||
func testExplorationOfATermBeginsAtTheExploredTerm() {
|
||||
assert(term.explore().it, ==, term)
|
||||
}
|
||||
|
||||
func testCannotMoveUpwardsAtTheStartOfAnExploration() {
|
||||
assert(term.explore().up?.it, ==, nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user