1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

Rename the inner leaf.

This commit is contained in:
Rob Rix 2015-11-05 11:33:53 -05:00
parent 373076ffb3
commit eda85a1e40

View File

@ -36,9 +36,9 @@ final class LocationTests: XCTestCase {
private let leafA = Cofree(1, .Leaf("a string"))
private let leafB = Cofree(2, .Leaf("b string"))
private let innerLeaf = Cofree(4, .Leaf("a nested string"))
private let innerLeafA = Cofree(4, .Leaf("a nested string"))
private let keyed = Cofree(3, .Keyed([
"a": innerLeaf,
"a": innerLeafA,
"b": Cofree(5, .Leaf("b nested string")),
]))
private let term: Cofree<String, Int> = Cofree(0, .Indexed([