mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-30 04:09:57 +00:00
refactor: simplify sources processing
Also fix desktop source
This commit is contained in:
@ -15,7 +15,6 @@
|
||||
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "testscriptformatter.h"
|
||||
|
||||
#include <QtTest>
|
||||
@ -52,7 +51,7 @@ void TestAWScriptFormatter::test_values()
|
||||
|
||||
void TestAWScriptFormatter::test_conversion()
|
||||
{
|
||||
QString string = AWTestLibrary::randomString();
|
||||
auto string = AWTestLibrary::randomString();
|
||||
QCOMPARE(formatter->convert(string), string);
|
||||
}
|
||||
|
||||
@ -93,7 +92,7 @@ void TestAWScriptFormatter::test_hasReturn()
|
||||
|
||||
void TestAWScriptFormatter::test_copy()
|
||||
{
|
||||
AWScriptFormatter *newFormatter = formatter->copy("/dev/null", 1);
|
||||
auto newFormatter = formatter->copy("/dev/null", 1);
|
||||
|
||||
QCOMPARE(newFormatter->appendCode(), formatter->appendCode());
|
||||
QCOMPARE(newFormatter->code(), formatter->code());
|
||||
|
Reference in New Issue
Block a user