Files
RedBear-OS/recipes/wip/libs/other/libicu/source/testdata/message2/invalid-options.json
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

48 lines
1.9 KiB
JSON

{
"scenario": "Bad options for built-in functions",
"description": "Tests for the bad-option error; only run in ICU4C for now",
"defaultTestProperties": {
"locale": "en-US",
"expErrors": [
{
"type": "bad-option"
}
]
},
"tests": [
{ "comment": "Neither impl validates options right now; see https://github.com/unicode-org/message-format-wg/issues/738",
"src": ".local $foo = {1 :number minimumIntegerDigits=-1} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :number minimumIntegerDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :number minimumFractionDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :number maximumFractionDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :number minimumSignificantDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :number maximumSignificantDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :integer minimumIntegerDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
},
{ "src": ".local $foo = {1 :integer maximumSignificantDigits=foo} {{bar {$foo}}}",
"ignoreCpp": "ICU4C doesn't validate options",
"ignoreJava": "ICU4J doesn't validate options"
}
]
}