Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: shell/command_line_util_unittest.cc

Issue 1467263002: Fix URL duplication when SetArgsForURL is called mutliple times. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/command_line_util.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/command_line_util_unittest.cc
diff --git a/shell/command_line_util_unittest.cc b/shell/command_line_util_unittest.cc
index d6761555a1b778ac8654d5505a8c122e3cb6845b..58d76494a01a209edfbb5c97a121d8084956ad67 100644
--- a/shell/command_line_util_unittest.cc
+++ b/shell/command_line_util_unittest.cc
@@ -67,8 +67,6 @@ TEST(CommandLineUtil, GetAppURLAndArgs) {
EXPECT_EQ(GURL(expectation.url), result);
std::vector<std::string> expected_args;
if (expectation.values) {
- if (*expectation.values)
- expected_args.push_back(expectation.url);
for (const char** value = expectation.values; *value; ++value)
expected_args.push_back(*value);
}
« no previous file with comments | « shell/command_line_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698