[clangd][test] Make sed git bash compliant

This commit is contained in:
Kadir Cetinkaya 2020-04-20 08:27:15 +02:00
parent e13c0b650a
commit 3be73dfde7
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
# On Windows, we need the URI in didOpen to look like "uri":"file:///C:/..."
# (with the extra slash in the front), so we add it here.
# RUN: sed -E -e "s|file://([A-Z]):/|file:///\1:/|g" %t.test.1 > %t.test
# RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %t.test.1 > %t.test
# RUN: clangd -lit-test < %t.test | FileCheck -strict-whitespace %t.test

View File

@ -31,7 +31,7 @@
# RUN: sed -e "s|INPUT_DIR|%/t.dir|g" %s > %t.test.1
# On Windows, we need the URI in didOpen to look like "uri":"file:///C:/..."
# (with the extra slash in the front), so we add it here.
# RUN: sed -E -e "s|file://([A-Z]):/|file:///\1:/|g" %t.test.1 > %t.test
# RUN: sed -E -e 's|"file://([A-Z]):/|"file:///\1:/|g' %t.test.1 > %t.test
# Bless the mock driver we've just created so that clangd can execute it.
# RUN: clangd -lit-test -query-driver="**.test,**.sh" < %t.test | FileCheck -strict-whitespace %t.test