Skip to content

Commit

Permalink
fix typo in exception message (#6962)
Browse files Browse the repository at this point in the history
  • Loading branch information
szaliszali authored Oct 23, 2023
1 parent f937db3 commit 35fc864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Akka/Util/SpanHacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static int Parse(ReadOnlySpan<char> str)
if (int.TryParse(str, out var i))
return i;
#endif
throw new FormatException($"[{str.ToString()}] is now a valid numeric format");
throw new FormatException($"[{str.ToString()}] is not a valid numeric format");
}

private const char Negative = '-';
Expand Down

0 comments on commit 35fc864

Please sign in to comment.