Upgraded grade-versions plugin to 0.47.0
This commit is contained in:
parent
7f8d044d04
commit
4df6d3f599
3 changed files with 10 additions and 12 deletions
|
@ -42,23 +42,23 @@ class UrlEncoderTest {
|
|||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Encode no options`() {
|
||||
for (m in validMap) {
|
||||
assertEquals(m.second, UrlEncoder.encode(m.first), "encode(${m.first})")
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Encode with SpaceToPlus`() {
|
||||
assertEquals("this+is+a+test", UrlEncoder.encode("this is a test", spaceToPlus = true))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Encode with allow`() {
|
||||
fun `Encode with Allow`() {
|
||||
assertEquals("this is a test", UrlEncoder.encode("this is a test", allow = " "))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Encode without Parameters`() {
|
||||
for (m in validMap) {
|
||||
assertEquals(m.second, UrlEncoder.encode(m.first), "encode(${m.first})")
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Main Decode`() {
|
||||
for (m in validMap) {
|
||||
|
@ -96,7 +96,6 @@ class UrlEncoderTest {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun `Main Usage with Empty Args`() {
|
||||
assertEquals(usage, processMain(arrayOf(" ", " ")).output, "processMain(' ', ' ')")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue