[llvm] [llvm-lit][test] Precommit tests for lit's built-in cat command (PR #101530)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 14:37:37 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r a5e67fba8abb35211aebb945d9d07ac988b80cf5...08082d1c3248cebb050c2032701abb6711bb625b llvm/utils/lit/tests/shtest-cat.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- shtest-cat.py	2024-08-02 21:29:32.000000 +0000
+++ shtest-cat.py	2024-08-02 21:37:11.172217 +0000
@@ -16,11 +16,11 @@
 # CHECK: PASS: shtest-cat :: cat-v.txt ({{[^)]*}})
 # CHECK: cat -v {{.+}}/allchars | FileCheck {{.*}}
 # CHECK-NEXT: # executed command: cat -v {{.+}}/allchars
 # CHECK-NEXT: # executed command: FileCheck {{.*}}
 # CHECK: cat -v {{.+}}/newline | FileCheck {{.*}}
-# CHECK-NEXT: # executed command: cat -v {{.+}}/newline 
+# CHECK-NEXT: # executed command: cat -v {{.+}}/newline
 # CHECK-NEXT: # executed command: FileCheck {{.*}}
 
 # CHECK: PASS: shtest-cat :: cat.txt ({{[^)]*}})
 # CHECK: cat {{.+}}/newline | FileCheck {{.*}}
 # CHECK-NEXT: # executed command: cat {{.+}}/newline

``````````

</details>


https://github.com/llvm/llvm-project/pull/101530


More information about the llvm-commits mailing list