Skip to content

Commit

Permalink
Fix test setup - closes #225
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Apr 5, 2019
1 parent 27dd265 commit 08039ae
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .ci/kontinuum.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"type": "ci",
"stages": [
"run"
"build","run"
]
}
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,8 @@ dependencies {

compile 'com.beust:klaxon:5.0.5'
compile 'com.squareup.moshi:moshi-kotlin:1.8.0'

testImplementation "org.jetbrains.kotlin:kotlin-test"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
}

9 changes: 0 additions & 9 deletions src/test/kotlin/TheTokenChecker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ class TheTokenChecker {
checkTokenFile(file)
}


@Test(expected = InvalidJSON::class)
fun shouldFailForInvalidDeprecation() {
val file = getFile("invalid_deprecation/0x6475A7FA6Ed2D5180F0e0a07c2d951D12C0EDB91.json")

checkTokenFile(file)
}


@Test(expected = InvalidDeprecationMigrationType::class)
fun shouldFailForInvalidDeprecationMigrationType() {
val file = getFile("invalid_deprecation_migration/0x6475A7FA6Ed2D5180F0e0a07c2d951D12C0EDB91.json")
Expand Down

This file was deleted.

0 comments on commit 08039ae

Please sign in to comment.