summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-14 21:22:10 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-15 14:22:57 +0100
commit7d1078a9d58e2b0e130a4ef73a93e013e241e32f (patch)
tree89dd18846c938a297a89bf0695488fcdfd2d5055 /rbutil
parent1bc68d5ad77bca333ac69bd4617a1f3af9375e0d (diff)
downloadrockbox-7d1078a9d58e2b0e130a4ef73a93e013e241e32f.tar.gz
rockbox-7d1078a9d58e2b0e130a4ef73a93e013e241e32f.tar.bz2
rockbox-7d1078a9d58e2b0e130a4ef73a93e013e241e32f.zip
rbutil: Fix unit test.
Change-Id: I0d1a33190d6590687d9e6eadd86a7ab8d8f877df
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/test/test-serverinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/test/test-serverinfo.cpp b/rbutil/rbutilqt/test/test-serverinfo.cpp
index e29470c909..af04c1ff3b 100644
--- a/rbutil/rbutilqt/test/test-serverinfo.cpp
+++ b/rbutil/rbutilqt/test/test-serverinfo.cpp
@@ -93,7 +93,7 @@ void TestServerInfo::testMain()
unsigned int i;
for(i = 0; i < sizeof(testdata) / sizeof(struct testvector); i++) {
- QString result = ServerInfo::platformValue(testdata[i].target, testdata[i].entry).toString();
+ QString result = ServerInfo::platformValue(testdata[i].entry, testdata[i].target).toString();
QCOMPARE(result, QString(testdata[i].expected));
}
}