-
-
Notifications
You must be signed in to change notification settings - Fork 36
In test suite, drop source from non-fallback formatted parts #1061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/unicode-org/message-format-wg/main/test/schemas/v0/tests.schema.json", | ||
"$schema": "../schemas/v0/tests.schema.json", | ||
"scenario": "u: Options", | ||
"description": "Common options affecting the function context", | ||
"defaultTestProperties": { | ||
|
@@ -54,13 +54,7 @@ | |
"expParts": [ | ||
{ "type": "text", "value": "hello " }, | ||
{ "type": "bidiIsolation", "value": "\u2066" }, | ||
{ | ||
"type": "string", | ||
"source": "|world|", | ||
"dir": "ltr", | ||
"id": "foo", | ||
"value": "world" | ||
}, | ||
{ "type": "string", "dir": "ltr", "id": "foo", "value": "world" }, | ||
{ "type": "bidiIsolation", "value": "\u2069" } | ||
|
||
] | ||
|
@@ -71,13 +65,7 @@ | |
"expParts": [ | ||
{ "type": "text", "value": "hello " }, | ||
{ "type": "bidiIsolation", "value": "\u2067" }, | ||
{ | ||
"type": "string", | ||
"source": "|world|", | ||
"dir": "rtl", | ||
"locale": "en-US", | ||
"value": "world" | ||
}, | ||
{ "type": "string", "dir": "rtl", "locale": "en-US", "value": "world" }, | ||
{ "type": "bidiIsolation", "value": "\u2069" } | ||
] | ||
}, | ||
|
@@ -89,7 +77,6 @@ | |
{ "type": "bidiIsolation", "value": "\u2068" }, | ||
{ | ||
"type": "string", | ||
"source": "|world|", | ||
"locale": "en-US", | ||
"value": "world" | ||
}, | ||
|
@@ -102,13 +89,7 @@ | |
"expParts": [ | ||
{ "type": "text", "value": "hello " }, | ||
{ "type": "bidiIsolation", "value": "\u2066" }, | ||
{ | ||
"type": "string", | ||
"source": "|world|", | ||
"dir": "ltr", | ||
"id": "foo", | ||
"value": "world" | ||
}, | ||
{ "type": "string", "dir": "ltr", "id": "foo", "value": "world" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any reason to lose the formatting? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you mean that this is on a single line, rather than the multiple lines it had previously? It's because with the change, it's now short enough to easily fit on a single line. |
||
{ "type": "bidiIsolation", "value": "\u2069" } | ||
] | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we be more verbose with the descriptions? They're here as documentation, after all...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is literally a fallback part, i.e. the result of formatting a value that experienes fallback. I don't really know what else to say about it?