From 7d431a588321983c449f35cd936faa865f1c210b Mon Sep 17 00:00:00 2001 From: Andrew Valencik Date: Mon, 4 Mar 2024 09:43:10 -0500 Subject: [PATCH] Fix formatting --- .../jvm/src/test/scala/junit/JUnitRunnerTests.scala | 6 ++++-- .../framework-cats/shared/src/test/scala/TracingTests.scala | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/framework-cats/jvm/src/test/scala/junit/JUnitRunnerTests.scala b/modules/framework-cats/jvm/src/test/scala/junit/JUnitRunnerTests.scala index bf8b6fb5..db9a48c7 100644 --- a/modules/framework-cats/jvm/src/test/scala/junit/JUnitRunnerTests.scala +++ b/modules/framework-cats/jvm/src/test/scala/junit/JUnitRunnerTests.scala @@ -57,7 +57,8 @@ object JUnitRunnerTests extends IOSuite { test("Tests tagged with only fail when ran on CI") { blocker => run(blocker, Meta.OnlyFailsOnCi).map { notifications => def testFailure(name: String, lineNumber: Int) = { - val srcPath = "modules/framework-cats/jvm/src/test/scala/junit/Meta.scala" + val srcPath = + "modules/framework-cats/jvm/src/test/scala/junit/Meta.scala" val msgLine1 = s"- $name 0ms" val msgLine2 = s" 'Only' tag is not allowed when `isCI=true` ($srcPath:$lineNumber)" @@ -134,7 +135,8 @@ object JUnitRunnerTests extends IOSuite { blocker => run(blocker, Meta.OnlyFailsOnCiEvenIfIgnored).map { notifications => def testFailure(name: String, lineNumber: Int) = { - val srcPath = "modules/framework-cats/jvm/src/test/scala/junit/Meta.scala" + val srcPath = + "modules/framework-cats/jvm/src/test/scala/junit/Meta.scala" val msgLine1 = s"- $name 0ms" val msgLine2 = s" 'Only' tag is not allowed when `isCI=true` ($srcPath:$lineNumber)" diff --git a/modules/framework-cats/shared/src/test/scala/TracingTests.scala b/modules/framework-cats/shared/src/test/scala/TracingTests.scala index e3cd04c2..b5acb9b8 100644 --- a/modules/framework-cats/shared/src/test/scala/TracingTests.scala +++ b/modules/framework-cats/shared/src/test/scala/TracingTests.scala @@ -17,7 +17,8 @@ object TracingTests extends SimpleIOSuite { result } - val thisFile = "/modules/framework-cats/shared/src/test/scala/TracingTests.scala" + val thisFile = + "/modules/framework-cats/shared/src/test/scala/TracingTests.scala" pureTest("Traces work as expected") { val result = isOdd(2)