diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-23 22:41:48 +0200 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-02-17 22:34:49 +0200 |
| commit | eb4641210c9132e736d666bd39408a5e5ead8c61 (patch) | |
| tree | 3df9630e5c0fa0e923ec40356756fc865b851267 /tests/auto/sql/kernel/qsqldatabase/tst_databases.h | |
| parent | c4d177897c74fa657e57df51f335a0a621b9c081 (diff) | |
QString: change unittests to compile with QT_NO_CAST_FROM_ASCII [7/13]
I.e. the second arg to QCOMPARE isn't what's being tested.
Drive-by changes:
- More _L1 usage, less blocky and easier to read
- QCOMPARE's second arg can be a View, it is smart enough and can
compare them just fine
- Replace a "//15 chars" comment with a QCOMPARE check
Pick-to: 6.5
Change-Id: I4f4b84b16b543df37b0ba2f9dd781b045b2ed397
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/sql/kernel/qsqldatabase/tst_databases.h')
0 files changed, 0 insertions, 0 deletions
