From 595e9df4ba2781461786b47471a99fca1b477008 Mon Sep 17 00:00:00 2001 From: Rd Date: Thu, 11 Jul 2024 05:26:12 +0530 Subject: [PATCH] Fix Lint checks on indentation --- .../scripts/testing/TestBazelWorkspace.kt | 4 ++-- .../scripts/testing/TestBazelWorkspaceTest.kt | 22 +++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/src/java/org/oppia/android/scripts/testing/TestBazelWorkspace.kt b/scripts/src/java/org/oppia/android/scripts/testing/TestBazelWorkspace.kt index 5b8b8164be3..482425d64c7 100644 --- a/scripts/src/java/org/oppia/android/scripts/testing/TestBazelWorkspace.kt +++ b/scripts/src/java/org/oppia/android/scripts/testing/TestBazelWorkspace.kt @@ -33,8 +33,8 @@ class TestBazelWorkspace(private val temporaryRootFolder: TemporaryFolder) { temporaryRootFolder.newFile(".bazelrc").also { it.writeText( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() ) } diff --git a/scripts/src/javatests/org/oppia/android/scripts/testing/TestBazelWorkspaceTest.kt b/scripts/src/javatests/org/oppia/android/scripts/testing/TestBazelWorkspaceTest.kt index 008d3170a3d..00d7c167a71 100644 --- a/scripts/src/javatests/org/oppia/android/scripts/testing/TestBazelWorkspaceTest.kt +++ b/scripts/src/javatests/org/oppia/android/scripts/testing/TestBazelWorkspaceTest.kt @@ -69,8 +69,8 @@ class TestBazelWorkspaceTest { assertThat(bazelRcFile.exists()).isTrue() assertThat(bazelRcFile.readText().trim()).isEqualTo( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() ) } @@ -139,8 +139,8 @@ class TestBazelWorkspaceTest { val bazelRcContent = tempFolder.getBazelRcFile().readText().trim() assertThat(bazelRcContent).isEqualTo( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() ) } @@ -648,10 +648,10 @@ class TestBazelWorkspaceTest { val bazelRcContent = tempFolder.getBazelRcFile().readText().trim() assertThat(bazelRcContent).isEqualTo( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() - ) + ) } @Test @@ -928,8 +928,8 @@ class TestBazelWorkspaceTest { val bazelRcContent = tempFolder.getBazelRcFile().readText().trim() assertThat(bazelRcContent).isEqualTo( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() ) } @@ -1153,8 +1153,8 @@ class TestBazelWorkspaceTest { val bazelRcContent = tempFolder.getBazelRcFile().readText().trim() assertThat(bazelRcContent).isEqualTo( """ - --noenable_bzlmod - build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 + --noenable_bzlmod + build --java_runtime_version=remotejdk_11 --tool_java_runtime_version=remotejdk_11 """.trimIndent() ) }