Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Remove failing assert for format with percentage symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
CSolanaM committed Apr 14, 2020
1 parent a125abb commit 24f197e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ extension Unstringified where Self: RawRepresentable, Self.RawValue == String {
var plainString: String {
let string = localizedString
assert(Mirror(reflecting: self).children.first?.label == nil, "Use `formattedString` for parameterized strings.")
// assert(String(format: string) == string, "'\(key)' contains format arguments. Use `format(...)` instead of `string`.")
return string
}

Expand Down

0 comments on commit 24f197e

Please sign in to comment.