mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Coding style fixes.
This commit is contained in:
@@ -55,7 +55,8 @@ void TestArgumentParser::testFilename()
|
||||
|
||||
void TestArgumentParser::testMultipleArguments()
|
||||
{
|
||||
parse(QStringList() << "--config" << "myconfig.ini" << "--filename" << "myfilename" << "--password" << "mypassword");
|
||||
parse(QStringList() << "--config" << "myconfig.ini" << "--filename" << "myfilename"
|
||||
<< "--password" << "mypassword");
|
||||
|
||||
QCOMPARE(argumentMap.size(), 3);
|
||||
QCOMPARE(argumentMap.value("config"), QString("myconfig.ini"));
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#define KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#ifndef KEEPASSX_TESTARGUMENTPARSER_H
|
||||
#define KEEPASSX_TESTARGUMENTPARSER_H
|
||||
|
||||
#include <QHash>
|
||||
#include <QObject>
|
||||
@@ -37,7 +37,6 @@ private:
|
||||
void parse(const QStringList& arguments);
|
||||
|
||||
QHash<QString, QString> argumentMap;
|
||||
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_TEST_ARGUMENT_PARSER_H
|
||||
#endif // KEEPASSX_TESTARGUMENTPARSER_H
|
||||
|
||||
Reference in New Issue
Block a user