verbose.carbon 817 B

1234567891011121314151617181920212223
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // ARGS: -v language-server
  6. //
  7. // Verbose output includes a timestamp.
  8. // NOAUTOUPDATE
  9. // TIP: To test this file alone, run:
  10. // TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/language_server/testdata/verbose.carbon
  11. // TIP: To dump output, run:
  12. // TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/language_server/testdata/verbose.carbon
  13. // CHECK:STDERR: V[{{.+}}] <<< {
  14. // CHECK:STDERR: "jsonrpc": "2.0",
  15. // CHECK:STDERR: "method": "exit"
  16. // CHECK:STDERR: }
  17. // CHECK:STDERR:
  18. // CHECK:STDERR:
  19. // CHECK:STDOUT:
  20. // --- STDIN
  21. [[@LSP-NOTIFY:exit:]]