/
githubmirror
/
icu
Обзор
Документация
Войти
/
githubmirror
/
icu
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
release-77-1
testdata/message2/duplicate-declarations.json
37 строк
1 KB
Tim Chevalier
ICU-22907 MF2: Finish updating spec tests and implement required test functions
09 фев 2025, 06:42
09 фев 2025, 06:42
7b8110f
Код
Авторство
О чём код?
{ "scenario": "Duplicate declaration errors", "description": "Tests that should trigger a duplicate declaration error", "defaultTestProperties": { "locale": "en-US", "expErrors": [ { "type": "duplicate-declaration" } ] }, "tests": [ { "src": ".local $foo = {$foo} .local $foo = {42} {{bar {$foo}}}", "params": [{ "name": "foo", "value": "foo" }] }, { "src": ".local $foo = {42} .local $foo = {42} {{bar {$foo}}}", "params": [{ "name": "foo", "value": "foo" }] }, { "src": ".local $foo = {:unknown} .local $foo = {42} {{bar {$foo}}}", "params": [{ "name": "foo", "value": "foo" }] }, { "src": ".local $x = {42} .local $y = {$x} .local $x = {13} {{{$x} {$y}}}" }, { "src": ".local $foo = {$foo} {{bar {$foo}}}", "params": [{ "name": "foo", "value": "foo" }] }, { "src": ".local $foo = {$bar} .local $bar = {$baz} {{bar {$foo}}}", "params": [{ "name": "baz", "value": "foo" }] } ] }