Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelpasterz committed Apr 29, 2020
1 parent 195c8e3 commit ff9edf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_runner/src/main/kotlin/ftl/util/FlankException.kt
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ class FlankFatalError(message: String) : FlankException(message)
*
* @param message [String] message to be printed to [System.err]
*/
class FlankCommonException(message: String) : FlankException(message)
class FlankCommonException(message: String) : FlankException(message)
4 changes: 2 additions & 2 deletions test_runner/src/test/kotlin/ftl/util/UtilsTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class UtilsTest {
val message = "not flank related error thrown"
mockkObject(FtlConstants)
every { FtlConstants.useMock } returns false
every { FtlConstants.bugsnag } returns mockk() {
every { FtlConstants.bugsnag } returns mockk {
every { notify(any<Throwable>()) } returns true
}
exit.expectSystemExitWithStatus(3)
Expand Down Expand Up @@ -283,7 +283,7 @@ class UtilsTest {
// given
val message = "No tests to run"
exit.expectSystemExitWithStatus(1)
val block = {throw FlankCommonException(message)}
val block = { throw FlankCommonException(message) }
// when
withGlobalExceptionHandling(block)
// then
Expand Down

0 comments on commit ff9edf5

Please sign in to comment.