Skip to content

Commit 294bb1a

Browse files
fredrik-erikssonmgallien
authored andcommitted
Enable netrc tests
Test for spaces in usernames and passwords is disabled for now as it's not supported by current implementation. Signed-off-by: Fredrik Eriksson <[email protected]>
1 parent 65db9a0 commit 294bb1a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/testnetrcparser.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ private slots:
5353

5454
void testValidNetrc() {
5555
NetrcParser parser(testfileC);
56-
QEXPECT_FAIL("", "test currently broken, eventually will be fixed", Abort);
5756
QVERIFY(parser.parse());
5857
QCOMPARE(parser.find("foo"), qMakePair(QString("bar"), QString("baz")));
5958
QCOMPARE(parser.find("broken"), qMakePair(QString("bar2"), QString()));
6059
QCOMPARE(parser.find("funnysplit"), qMakePair(QString("bar3"), QString("baz3")));
60+
QEXPECT_FAIL("", "Current implementation do not support spaces in username or password", Continue);
6161
QCOMPARE(parser.find("frob"), qMakePair(QString("user with spaces"), QString("space pwd")));
6262
}
6363

@@ -69,7 +69,6 @@ private slots:
6969

7070
void testValidNetrcWithDefault() {
7171
NetrcParser parser(testfileWithDefaultC);
72-
QEXPECT_FAIL("", "test currently broken, eventually will be fixed", Abort);
7372
QVERIFY(parser.parse());
7473
QCOMPARE(parser.find("foo"), qMakePair(QString("bar"), QString("baz")));
7574
QCOMPARE(parser.find("dontknow"), qMakePair(QString("user"), QString("pass")));

0 commit comments

Comments
 (0)