mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 04:00:06 +00:00
NOISSUE improve GradleSpecifier and handle broken library names
This commit is contained in:
@@ -31,7 +31,7 @@ slots:
|
||||
{
|
||||
QFETCH(QString, through);
|
||||
|
||||
QString converted = GradleSpecifier(through);
|
||||
QString converted = GradleSpecifier(through).serialize();
|
||||
|
||||
QCOMPARE(converted, through);
|
||||
}
|
||||
@@ -68,7 +68,8 @@ slots:
|
||||
|
||||
GradleSpecifier spec(input);
|
||||
QVERIFY(!spec.valid());
|
||||
QCOMPARE(spec.operator QString(), QString("INVALID"));
|
||||
QCOMPARE(spec.serialize(), input);
|
||||
QCOMPARE(spec.toPath(), QString());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user