Skip to content

Commit

Permalink
remove fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
alimyuz committed Oct 26, 2023
1 parent 724f1a7 commit feea291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TestCasesMacroMacros/TestCasesMacroMacro.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public struct TestCaseMacro: PeerMacro {
return list
}
default:
fatalError(attribute.debugDescription) // Should not happen
throw "Not an argument list. \(attribute.debugDescription)" // Should not happen
}
}
}
Expand Down

0 comments on commit feea291

Please sign in to comment.