File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/commonTest/kotlin/net/pearx/kpastebin/test Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
# KPastebin [ ![ Maven Central] ( https://img.shields.io/maven-central/v/net.pearx.kpastebin/kpastebin.svg?label=version&logo=kotlin&logoColor=white )] ( https://search.maven.org/search?q=g:%22net.pearx.kpastebin%22%20AND%20a:%22kpastebin%22 ) [ ![ Awesome Kotlin Badge] ( https://kotlin.link/awesome-kotlin.svg )] ( https://github.com/KotlinBy/awesome-kotlin )
2
2
[ ![ License] ( https://img.shiel**ds.io/github/license/pearxteam/kpastebin.svg )] ( https://raw.githubusercontent.com/pearxteam/kpastebin/master/LICENSE.TXT )
3
3
[ ![ Discord] ( https://img.shields.io/discord/136085738151346176.svg?logo=discord&logoColor=white )] ( https://discord.gg/q9cX9QE )
4
+
4
5
![ Test & Deploy | develop] ( https://github.com/pearxteam/kpastebin/workflows/Test%20&%20Deploy%20%7C%20develop/badge.svg?branch=develop )
5
6
![ Test & Deploy | master] ( https://github.com/pearxteam/kpastebin/workflows/Test%20&%20Deploy%20%7C%20master/badge.svg?branch=master )
7
+ [ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=pearxteam_kpastebin&metric=coverage )] ( https://sonarcloud.io/dashboard?id=pearxteam_kpastebin )
8
+
6
9
7
10
Multiplatform Kotlin library to interact with the pastebin.com API.
8
11
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ import kotlin.test.assertFailsWith
21
21
class AnonymousTest {
22
22
@Test
23
23
fun gettingNonExistingPasteFailsWith404 () = runTest {
24
- assertFailsWith<PasteNotFoundException > {
24
+ // todo https://youtrack.jetbrains.com/issue/KT-37645 https://youtrack.jetbrains.com/issue/KTOR-924
25
+ assertFailsWith(PasteNotFoundException ::class ) {
25
26
createClient(" " ).getPaste(" 123" )
26
27
}
27
28
}
You can’t perform that action at this time.
0 commit comments