From 3f1dc0a2c70a3e7faa1b0afaa4119076bc1df6ef Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sat, 2 Mar 2024 17:57:55 +0000 Subject: [PATCH] Fix yaml indentation in editorconfig --- .editorconfig | 3 +++ .../commonTest/kotlin/com/github/michaelbull/result/ZipTest.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index e291365..b4278db 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,6 @@ indent_size = 4 end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +[*.yaml] +indent_size = 2 diff --git a/kotlin-result/src/commonTest/kotlin/com/github/michaelbull/result/ZipTest.kt b/kotlin-result/src/commonTest/kotlin/com/github/michaelbull/result/ZipTest.kt index 8273fee..d522310 100644 --- a/kotlin-result/src/commonTest/kotlin/com/github/michaelbull/result/ZipTest.kt +++ b/kotlin-result/src/commonTest/kotlin/com/github/michaelbull/result/ZipTest.kt @@ -3,7 +3,7 @@ package com.github.michaelbull.result import kotlin.test.Test import kotlin.test.assertEquals -private inline fun produce(number: Int, error: String): Result { +private fun produce(number: Int, error: String): Result { return Ok(number).and(Err(error)) }