Convert the last uses of __FILE__ etc in the testsuite over to the new

syntax.  I left the tests for the deprecation warnings in
test/expr/expressions.swift.
This commit is contained in:
Chris Lattner
2016-02-04 15:41:09 -08:00
parent 87681ef0a1
commit 92750511df
13 changed files with 29 additions and 29 deletions

View File

@@ -273,7 +273,7 @@ func expectLocalizedEquality(
@autoclosure _ message: () -> String = "",
showFrame: Bool = true,
stackTrace: SourceLocStack = SourceLocStack(),
file: String = __FILE__, line: UInt = __LINE__
file: String = #file, line: UInt = #line
) {
let trace = stackTrace.pushIf(showFrame, file: file, line: line)