commit | 58901fe2d48b40b9622aa2a1ac0fb3c7144dc306 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <[email protected]> | Fri Sep 30 17:05:14 2022 +0000 |
committer | Gerrit Code Review <[email protected]> | Fri Sep 30 17:05:14 2022 +0000 |
tree | 262e2e5dbc331652e9fe87279274aae7a5242cb9 | |
parent | 1690c90dc72e74f2adefba2443aa81c43bd27457 [diff] | |
parent | 62b5f051134da5b12cdd2269cfb10fa68ed6a043 [diff] |
Merge "Fix flaky test. Hyphenation works only on API 28+." into androidx-main
diff --git a/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt b/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt index cb93b53..9daf874 100644 --- a/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt +++ b/compose/ui/ui-text/src/androidAndroidTest/kotlin/androidx/compose/ui/text/style/HyphensTest.kt
@@ -17,10 +17,12 @@ package androidx.compose.ui.text.style import androidx.compose.ui.text.ExperimentalTextApi +import androidx.test.filters.SdkSuppress import com.google.common.truth.Truth.assertThat import org.junit.Test @OptIn(ExperimentalTextApi::class) +@SdkSuppress(minSdkVersion = 28) class HyphensTest : TextLineBreaker() { private val text = "Transformation"