Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
improve assertion failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Apr 19, 2017
1 parent a786680 commit 6bc538e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ceylon/locale/Locale.ceylon
Expand Up @@ -183,7 +183,7 @@ shared Locale? locale(String tag) {
locale of the current system."
see (`value system.locale`)
shared Locale systemLocale {
"locale data for current locale must exist"
"locale data for current locale `system.locale` must exist"
assert (exists systemLocaleCache);
return systemLocaleCache;
}
Expand Down

2 comments on commit 6bc538e

@CPColin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that assertion message need double-backticks?

@gavinking
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CPColin heh. yeah, of course. Duh.

Please sign in to comment.