Don't use i18n in tests, we're not loading any catalogs anyway.
commite58b09d6b1c87d73553d64b80830dca777d6916f
authorMichał Sawicz <michal.sawicz@canonical.com>
dateTue 13 Aug 2013, 10:51 (13 years ago)
parentfcbade5
tests/qmltests/Dash/Apps/tst_AppPreview.qml+1−1
@@ -112,7 +112,7 @@ Item {
112112
113113 function test_reviews() {
114114 var rated = findChild(appPreview, "reviewsLabel");
115− compare(rated.text, i18n.tr("%1 review", "%1 reviews", 8).arg(8), "Reviews don't match");
115+ compare(rated.text, "8 reviews", "Reviews don't match");
116116 }
117117
118118 function test_send_review() {