Skip to content

Commit 8640583

Browse files
committed
Remove trailing CR in test-generated.ll.
Add the option `strip-trailing-cr` to avoid CR/LF-related test failures. The dialect files are created with LF, thus we don't want to see diff mismatches in git environments which check out with CRLF.
1 parent bbb2893 commit 8640583

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/example/test-generated.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
; RUN: diff -U 5 %S/generated/ExampleDialect.h.inc test_build_dir/../example/ExampleDialect.h.inc
2-
; RUN: diff -U 5 %S/generated/ExampleDialect.cpp.inc test_build_dir/../example/ExampleDialect.cpp.inc
1+
; RUN: diff --strip-trailing-cr -U 5 %S/generated/ExampleDialect.h.inc test_build_dir/../example/ExampleDialect.h.inc
2+
; RUN: diff --strip-trailing-cr -U 5 %S/generated/ExampleDialect.cpp.inc test_build_dir/../example/ExampleDialect.cpp.inc

0 commit comments

Comments
 (0)