1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 11:02:26 +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