Skip to content

Commit 72681c2

Browse files
authored
Fix a typo in a sample (#497)
1 parent 2e197e5 commit 72681c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/common/test/samples/format/LocalDateFormatSamples.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ class LocalDateFormatSamples {
195195
@Test
196196
fun constructionFromStrings() {
197197
// Constructing a custom set of day of week names for parsing and formatting by passing 7 strings
198-
val myMonthNames = DayOfWeekNames(
198+
val myDayOfWeekNames = DayOfWeekNames(
199199
"Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"
200200
)
201-
check(myMonthNames == DayOfWeekNames.ENGLISH_ABBREVIATED) // could just use the built-in one...
201+
check(myDayOfWeekNames == DayOfWeekNames.ENGLISH_ABBREVIATED) // could just use the built-in one...
202202
}
203203

204204
@Test

0 commit comments

Comments
 (0)