diff --git a/Tests/SwiftShellTests/TestHelpers.swift b/Tests/SwiftShellTests/TestHelpers.swift index b55166d..a68b554 100644 --- a/Tests/SwiftShellTests/TestHelpers.swift +++ b/Tests/SwiftShellTests/TestHelpers.swift @@ -29,7 +29,7 @@ func AssertDoesNotThrow(_ closure: () throws -> ()) { /// } /// /// If the closure does not throw the expected error, the test fails. -@discardableResult public func AssertThrows(_ expectedError: E, +public func AssertThrows(_ expectedError: E, file: StaticString = #file, line: UInt = #line, _ closure: () throws -> ()) where E: Error, E: Equatable {