mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user