diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-05 12:16:21 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-11 11:23:15 +0200 |
| commit | 97470a7838d8fd76c3555925d9b9b505c623fe70 (patch) | |
| tree | 2b5f4398d00171c2416883d9d8b94ea57e90d2b6 /src/widgets/doc/snippets/mainwindowsnippet.cpp | |
| parent | 439066ea84374c704d59857e9d32f26d0fc85161 (diff) | |
tst_QUuid::fromString(): tweak a test to avoid data-tag collision
Two of the uuidA test cases had an open-brace for the string and no
close; one of them ended with a space (which, apparently, is valid).
Since the data-tag was constructed by formatting the string in a
fixed-width field, padding with spaces, these two cases coincided.
Fortunately the only uuidB test-case had closing as well as opening
braces, so we can just switch the test for "trailing space is not an
error" to use it, instead.
Change-Id: I7068d40145c6b6b3b72777b029282850b1d1ea81
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mate Barany <mate.barany@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
