From 2f8fad47c562ef6446606cb9a17219ca1dd3e73c Mon Sep 17 00:00:00 2001 From: Guillermo Bueno Vargas Date: Wed, 11 Oct 2023 20:06:48 +0200 Subject: [PATCH] Formatted packages\patrol_cli\lib\src\test_bundler.dart --- packages/patrol_cli/lib/src/test_bundler.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/patrol_cli/lib/src/test_bundler.dart b/packages/patrol_cli/lib/src/test_bundler.dart index be9f1c358..472eb66b9 100644 --- a/packages/patrol_cli/lib/src/test_bundler.dart +++ b/packages/patrol_cli/lib/src/test_bundler.dart @@ -177,7 +177,9 @@ ${generateGroupsCode([testFilePath]).split('\n').map((e) => ' $e').join('\n')} for (final testFilePath in testFilePaths) { final relativeTestFilePath = _normalizeTestPath(testFilePath); final testName = _createTestName(relativeTestFilePath); - final relativeTestFilePathWithoutSlash = relativeTestFilePath[0] == '/' ? relativeTestFilePath.replaceFirst('/', '') : relativeTestFilePath; + final relativeTestFilePathWithoutSlash = relativeTestFilePath[0] == '/' + ? relativeTestFilePath.replaceFirst('/', '') + : relativeTestFilePath; imports.add("import '$relativeTestFilePathWithoutSlash' as $testName;"); }