diff options
author | Christian Stenger <christian.stenger@qt.io> | 2022-03-09 10:08:12 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2022-03-09 15:22:29 +0000 |
commit | a09c5baedbf305fb64bbb4c3883ecb826d42296a (patch) | |
tree | 347e08d0349ef100eeb58fc0d23aa54078f63329 /tests | |
parent | 1960d8f2cf56e1602f33525c930a07cd8d99d9b7 (diff) | |
download | qt-creator-a09c5baedbf305fb64bbb4c3883ecb826d42296a.tar.gz |
Tests: Fix expected assert on Windows
Paths are os specific in this context.
Change-Id: Ida8f7a661ca005d0b624f4ce75727df420f51e9b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/ssh/tst_ssh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/ssh/tst_ssh.cpp b/tests/auto/ssh/tst_ssh.cpp index 2c237bfbfa..b4cf76a691 100644 --- a/tests/auto/ssh/tst_ssh.cpp +++ b/tests/auto/ssh/tst_ssh.cpp @@ -206,7 +206,7 @@ void tst_Ssh::pristineConnectionObject() QSsh::SshConnection connection((SshConnectionParameters())); QCOMPARE(connection.state(), SshConnection::Unconnected); QRegularExpression assertToIgnore( - "SOFT ASSERT: \"state\\(\\) == Connected\" in file .*/sshconnection.cpp, line \\d*"); + "SOFT ASSERT: \"state\\(\\) == Connected\" in file .*[/\\\\]sshconnection.cpp, line \\d*"); QTest::ignoreMessage(QtDebugMsg, assertToIgnore); QVERIFY(!connection.createRemoteProcess("")); QTest::ignoreMessage(QtDebugMsg, assertToIgnore); |