/
githubmirror
/
carbon-lang
Обзор
Документация
Войти
/
githubmirror
/
carbon-lang
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
trunk
testing/file_test/testdata/replace_content.carbon
16 строк
860 B
Richard Smith
Avoid non-UTF8-encoded test files. (#5965)
21 авг 2025, 00:07
Не верифицирован
21 авг 2025, 00:07
ad84e71
Код
Авторство
О чём код?
// Part of the Carbon Language project, under the Apache License v2.0 with LLVM // Exceptions. See /LICENSE for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // AUTOUPDATE // TIP: To test this file alone, run: // TIP: bazel test //testing/file_test:file_test_base_test --test_arg=--file_tests=testing/file_test/testdata/replace_content.carbon // TIP: To dump output, run: // TIP: bazel run //testing/file_test:file_test_base_test -- --dump_output --file_tests=testing/file_test/testdata/replace_content.carbon // CHECK:STDOUT: 2 args: `default_args`, `replace_content.carbon` library "[[@TEST_NAME]]"; // CHECK:STDOUT: replace_content.carbon:[[@LINE-1]]: library "replace_content"; var x: str = "[[@0x48]][[@0x65]][[@0x6C]][[@0x6C]][[@0x6F]]"; // CHECK:STDOUT: replace_content.carbon:[[@LINE-1]]: var x: str = "Hello";