annotate clang-tools-extra/clangd/test/test-uri-windows.test @ 180:680fa57a2f20

fix compile errors.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 May 2020 17:44:06 +0900
parents 1d019706d866
children 2e18cbf3894f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # RUN: clangd -lit-test < %s | FileCheck -strict-whitespace %s
anatofuz
parents:
diff changeset
2 # REQUIRES: windows-gnu || windows-msvc
anatofuz
parents:
diff changeset
3 # Test authority-less URI
anatofuz
parents:
diff changeset
4 {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
anatofuz
parents:
diff changeset
5 ---
anatofuz
parents:
diff changeset
6 {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"uri":"test:///foo.c","languageId":"c","version":1,"text":"void main() {}"}}}
anatofuz
parents:
diff changeset
7 # CHECK: "uri": "file:///C:/clangd-test/foo.c"
anatofuz
parents:
diff changeset
8 ---
anatofuz
parents:
diff changeset
9 {"jsonrpc":"2.0","id":5,"method":"shutdown"}
anatofuz
parents:
diff changeset
10 ---
anatofuz
parents:
diff changeset
11 {"jsonrpc":"2.0","method":"exit"}