This fixes the test for i386 targets.
Details
- Reviewers
chaoren chying clayborg - Commits
- rGb100a34cfb4b: [TestDataFormatterUnordered] Use patterns to match unordered_<multi>set elements
rLLDB238385: [TestDataFormatterUnordered] Use patterns to match unordered_<multi>set elements
rL238385: [TestDataFormatterUnordered] Use patterns to match unordered_<multi>set elements
Diff Detail
Event Timeline
test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py | ||
---|---|---|
64–69 | Could you please add a space after each comma for readability? It'd be even nicer if they're all lined up. |
test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py | ||
---|---|---|
64–69 | I thought about it. If I add spaces here, would be odd if I do not add for lines 64 and 65. However, these lines are beyond the scope of this patch IMO. That said, anything for an LGTM: Should I only update 66-69, or all of 64-69? |
For reference, 23.2.5-6 of n3337:
the absolute order of elements in an unordered container is not specified
test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py | ||
---|---|---|
66 | '\[\d\] = 3','\[\d\] = 3','\[\d\] = 3' It's kind of meaning less to have three of these now. But I can't think of a good way to assert 3 distinct matches. | |
67 | Same problem here. |
It's kind of meaning less to have three of these now. But I can't think of a good way to assert 3 distinct matches.