We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe66cf commit a76cbbaCopy full SHA for a76cbba
1 file changed
tests/PythonQtTests.cpp
@@ -255,9 +255,8 @@ void PythonQtTestApi::testVariables()
255
QSet<QString> s;
256
// check that at least these three variables are set
257
s << "obj" << "someObject" << "someValue";
258
- QString a;
259
- foreach (a, l) {
260
- QVERIFY(s.contains(a));
+ foreach (QString value, s) {
+ QVERIFY(l.indexOf(value)!=-1);
261
}
262
263
// insert a second time!
0 commit comments