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

Issue 10875056: Properly handle Git URLs with trailing slashes. (Closed)

Created:
8 years, 4 months ago by nweiz
Modified:
8 years, 4 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Properly handle Git URLs with trailing slashes. BUG=3493 Committed: https://code.google.com/p/dart/source/detail?r=11343

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -2 lines) Patch
M utils/pub/git_source.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M utils/pub/pubspec.dart View 1 chunk +7 lines, -0 lines 0 comments Download
M utils/tests/pub/pub_install_git_test.dart View 2 chunks +56 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
nweiz
8 years, 4 months ago (2012-08-24 20:43:23 UTC) #1
Bob Nystrom
Nit, but LGTM. https://chromiumcodereview.appspot.com/10875056/diff/1/utils/tests/pub/pub_install_git_test.dart File utils/tests/pub/pub_install_git_test.dart (right): https://chromiumcodereview.appspot.com/10875056/diff/1/utils/tests/pub/pub_install_git_test.dart#newcode340 utils/tests/pub/pub_install_git_test.dart:340: group("(regression)", () { I don't think ...
8 years, 4 months ago (2012-08-24 21:03:16 UTC) #2
nweiz
8 years, 4 months ago (2012-08-24 21:09:20 UTC) #3
https://chromiumcodereview.appspot.com/10875056/diff/1/utils/tests/pub/pub_in...
File utils/tests/pub/pub_install_git_test.dart (right):

https://chromiumcodereview.appspot.com/10875056/diff/1/utils/tests/pub/pub_in...
utils/tests/pub/pub_install_git_test.dart:340: group("(regression)", () {
On 2012/08/24 21:03:16, Bob Nystrom wrote:
> I don't think this group() adds much. Every test is eventually a regression
> test. :)
> 
> Remove it?

I think there's a useful distinction between tests that specify a core piece of
the behavior of Pub and tests that check for an edge case that was buggy at one
point. This is the sort of test that we'd be unlikely to write when initially
verifying the behavior of the code, but that exists because we've failed to
support this edge case in the past and want to make sure we don't again.

Powered by Google App Engine
This is Rietveld 408576698