Update Truth to 1.0.1
This commit is contained in:
parent
9b2b82eee6
commit
dd99636fa8
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class EmailSectionTest {
|
|||
fun subSequence() {
|
||||
val section = "[ One][ Two][ Three]".asEmailSection()
|
||||
|
||||
assertThat(section.subSequence(0, 11)).isSameAs(section)
|
||||
assertThat(section.subSequence(0, 11)).isSameInstanceAs(section)
|
||||
assertThat(section.subSequence(0, 3).asString()).isEqualTo("One")
|
||||
assertThat(section.subSequence(0, 2).asString()).isEqualTo("On")
|
||||
assertThat(section.subSequence(1, 3).asString()).isEqualTo("ne")
|
||||
|
|
|
@ -34,7 +34,7 @@ buildscript {
|
|||
'robolectric': '4.2.1',
|
||||
'mockito': '3.2.4',
|
||||
'mockitoKotlin': '2.2.0',
|
||||
'truth': '0.35'
|
||||
'truth': '1.0.1'
|
||||
]
|
||||
|
||||
javaVersion = JavaVersion.VERSION_1_8
|
||||
|
|
Loading…
Reference in a new issue