Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -412,9 +412,8 @@ class SpaceCursorAndLetterHintsInstrumentedTest {

/**
* The merged key commits its own mark and hides the other in its corner:
* Chinese 逗号 over 句号, English the full stop over the comma
* (`input_kbd_english26.xml:154-161`, `input_kbd_pinyin26.xml:145-152`), so
* an up swipe types the corner mark — 句号 in Chinese, the comma in English.
* Both languages keep the comma on tap and the period in the corner,
* matching the restored Beta10 arrangement. An up swipe types the period.
*/
@Test
fun swipeUpOnTheCommaKeyTypesThePeriod() = withKeyboard { harness, recorder, keyboard ->
Expand All @@ -425,7 +424,7 @@ class SpaceCursorAndLetterHintsInstrumentedTest {
recorder.characters.clear()
harness.awaitMain { keyboard.setMode(KeyboardMode.ENGLISH_26); true }
swipeUp(harness, settled(harness, keyboard, "key-punctuation"))
assertEquals(listOf(","), recorder.characters.toList())
assertEquals(listOf("."), recorder.characters.toList())
}

@Test
Expand Down
Loading