Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DelevoXDG committed Mar 15, 2024
1 parent a695a26 commit f0d8a8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/test/kotlin/starknet/data/TypedDataTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ internal class TypedDataTest {
val exception = assertThrows<IllegalArgumentException> {
makeTypedData(Revision.V1, type)
}
assertEquals("Types cannot end in *. [$type] was found.", exception.message)
assertEquals("Type names cannot end in *. [$type] was found.", exception.message)
}
}

Expand All @@ -474,7 +474,7 @@ internal class TypedDataTest {
val exception = assertThrows<IllegalArgumentException> {
makeTypedData(Revision.V1, type)
}
assertEquals("Types cannot be enclosed in parentheses. [$type] was found.", exception.message)
assertEquals("Type names cannot be enclosed in parentheses. [$type] was found.", exception.message)
}
}

Expand All @@ -485,7 +485,7 @@ internal class TypedDataTest {
val exception = assertThrows<IllegalArgumentException> {
makeTypedData(Revision.V1, type)
}
assertEquals("Types cannot contain commas. [$type] was found.", exception.message)
assertEquals("Type names cannot contain commas. [$type] was found.", exception.message)
}
}

Expand Down

0 comments on commit f0d8a8a

Please sign in to comment.