Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
ae5bdc2e
Commit
ae5bdc2e
authored
Jun 08, 2012
by
Kurt Hindenburg
Browse files
minor krazy fix
parent
48df0e0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tests/ShellCommandTest.cpp
View file @
ae5bdc2e
...
...
@@ -65,7 +65,7 @@ void ShellCommandTest::testExpandEnvironmentVariable()
const
QString
value
=
"/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"
;
qputenv
(
env
.
toLocal8Bit
(),
value
.
toLocal8Bit
());
const
QString
result
=
ShellCommand
::
expand
(
text
);
const
QString
expected
=
text
.
replace
(
"$"
+
env
,
value
);
const
QString
expected
=
text
.
replace
(
'$'
+
env
,
value
);
QCOMPARE
(
result
,
expected
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment