1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00
semantic/prototype/DoubtTests/SwiftTests.swift
Rob Rix 5dd80cb0ce Diff is defined over Term<Info>.
This enables diffs to operate on categorized Terms.
2015-09-30 16:05:39 -04:00

20 lines
443 B
Swift

final class SwiftTests: XCTestCase {
func testParsingAFile() {
let path = __FILE__
guard let file = File(path: path) else {
XCTFail("Could not make a File from \(__FILE__)")
return
}
let structure = Structure(file: file)
let dictionary = toAnyObject(structure.dictionary)
// print(JSON(object: dictionary).map { Term<String>(path: path, JSON: $0) })
}
}
@testable import Doubt
import SourceKittenFramework
import XCTest