mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -36,12 +36,12 @@ class AudioRecorderStateTests: XCTestCase {
|
||||
audioRecorderMock = buildAudioRecorderMock()
|
||||
}
|
||||
|
||||
func testAttach() async throws {
|
||||
func testAttach() {
|
||||
audioRecorderState.attachAudioRecorder(audioRecorderMock)
|
||||
XCTAssertEqual(audioRecorderState.recordingState, .stopped)
|
||||
}
|
||||
|
||||
func testDetach() async throws {
|
||||
func testDetach() async {
|
||||
audioRecorderState.attachAudioRecorder(audioRecorderMock)
|
||||
audioRecorderMock.isRecording = true
|
||||
await audioRecorderState.detachAudioRecorder()
|
||||
@@ -49,7 +49,7 @@ class AudioRecorderStateTests: XCTestCase {
|
||||
XCTAssertEqual(audioRecorderState.recordingState, .stopped)
|
||||
}
|
||||
|
||||
func testReportError() async throws {
|
||||
func testReportError() {
|
||||
XCTAssertEqual(audioRecorderState.recordingState, .stopped)
|
||||
audioRecorderState.reportError()
|
||||
XCTAssertEqual(audioRecorderState.recordingState, .error)
|
||||
|
||||
Reference in New Issue
Block a user