1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 11:02:26 +03:00

Define the Term fixtures using Fix.

This commit is contained in:
Rob Rix 2015-10-06 12:58:07 -04:00
parent daf5f8ed9e
commit c35e31ad4a

View File

@ -35,10 +35,11 @@ final class DiffTests: XCTestCase {
private typealias Term = Fix<Info>
private let a: Term<Info> = Term(.Leaf(.Literal("a", [])))
private let b: Term<Info> = Term(.Leaf(.Literal("b", [])))
private let c: Term<Info> = Term(.Leaf(.Literal("c", [])))
private let d: Term<Info> = Term(.Leaf(.Literal("d", [])))
private let a = Term.In(.Leaf(.Literal("a", [])))
private let b = Term.In(.Leaf(.Literal("b", [])))
private let c = Term.In(.Leaf(.Literal("c", [])))
private let d = Term.In(.Leaf(.Literal("d", [])))
import Doubt
import XCTest