File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Sources/Testing/Events/Recorder Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,8 @@ extension Event {
142
142
/// The write function for this recorder.
143
143
let write : @Sendable ( String ) -> Void
144
144
145
- /// The fallback console recorder for standard output.
146
- private let _fallbackRecorder : Event . ConsoleOutputRecorder
145
+ /// The base console output options .
146
+ private let _baseOptions : Event . ConsoleOutputRecorder . Options
147
147
148
148
/// Context storage for test information and results.
149
149
private let _context : Locked < _Context >
@@ -159,7 +159,7 @@ extension Event {
159
159
init ( options: Options = Options ( ) , writingUsing write: @escaping @Sendable ( String ) -> Void ) {
160
160
self . options = options
161
161
self . write = write
162
- self . _fallbackRecorder = Event . ConsoleOutputRecorder ( options: options . base, writingUsing : write )
162
+ self . _baseOptions = options. base
163
163
self . _context = Locked ( rawValue: _Context ( ) )
164
164
self . _humanReadableRecorder = Event . HumanReadableOutputRecorder ( )
165
165
}
@@ -258,7 +258,7 @@ extension Event.AdvancedConsoleOutputRecorder {
258
258
// The hierarchical summary will be shown at the end
259
259
switch eventKind {
260
260
case . runStarted:
261
- let symbol = Event . Symbol. default. stringValue ( options: _fallbackRecorder . options )
261
+ let symbol = Event . Symbol. default. stringValue ( options: _baseOptions )
262
262
write ( " \( symbol) Test run started. \n " )
263
263
264
264
case . runEnded:
You can’t perform that action at this time.
0 commit comments