@@ -325,12 +325,12 @@ public void RepositoryHome(string windowTitle, string expectOwner, string expect
325325
326326 public class TheResolveBlobMethod
327327 {
328- [ TestCase ( "https://github.com/github/VisualStudio/blob/master/foo.cs" , "master" , "master:foo.cs" , "master" , "foo.cs" ) ]
329- [ TestCase ( "https://github.com/github/VisualStudio/blob/master/src/foo.cs" , "master" , "master:src/foo.cs" , "master" , "src/foo.cs" ) ]
330- [ TestCase ( "https://github.com/github/VisualStudio/blob/branch-name/src/foo.cs" , "branch-name" , "branch-name:src/foo.cs" , "branch-name" , "src/foo.cs" ) ]
331- [ TestCase ( "https://github.com/github/VisualStudio/blob/fixes/666-bug/src/foo.cs" , "fixes/666-bug" , "fixes/666-bug:src/foo.cs" , "fixes/666-bug" , "src/foo.cs" ) ]
332- [ TestCase ( "https://github.com/github/VisualStudio/blob/fixes/666-bug/A/B/foo.cs" , "fixes/666-bug" , "fixes/666-bug:A/B/foo.cs" , "fixes/666-bug" , "A/B/foo.cs" ) ]
333- [ TestCase ( "https://github.com/github/VisualStudio/blob/master/foo.cs" , "master" , null , "master" , null , Description = "Resolve commit only" ) ]
328+ [ TestCase ( "https://github.com/github/VisualStudio/blob/master/foo.cs" , "refs/remotes/origin/ master" , "refs/remotes/origin/ master:foo.cs" , "refs/remotes/origin/ master" , "foo.cs" ) ]
329+ [ TestCase ( "https://github.com/github/VisualStudio/blob/master/src/foo.cs" , "refs/remotes/origin/ master" , "refs/remotes/origin/ master:src/foo.cs" , "refs/remotes/origin/ master" , "src/foo.cs" ) ]
330+ [ TestCase ( "https://github.com/github/VisualStudio/blob/branch-name/src/foo.cs" , "refs/remotes/origin/ branch-name" , "refs/remotes/origin/ branch-name:src/foo.cs" , "refs/remotes/origin/ branch-name" , "src/foo.cs" ) ]
331+ [ TestCase ( "https://github.com/github/VisualStudio/blob/fixes/666-bug/src/foo.cs" , "refs/remotes/origin/ fixes/666-bug" , "refs/remotes/origin/ fixes/666-bug:src/foo.cs" , "refs/remotes/origin/ fixes/666-bug" , "src/foo.cs" ) ]
332+ [ TestCase ( "https://github.com/github/VisualStudio/blob/fixes/666-bug/A/B/foo.cs" , "refs/remotes/origin/ fixes/666-bug" , "refs/remotes/origin/ fixes/666-bug:A/B/foo.cs" , "refs/remotes/origin/ fixes/666-bug" , "A/B/foo.cs" ) ]
333+ [ TestCase ( "https://github.com/github/VisualStudio/blob/master/foo.cs" , "refs/remotes/origin/ master" , null , "refs/remotes/origin/ master" , null , Description = "Resolve commit only" ) ]
334334 [ TestCase ( "https://github.com/github/VisualStudio/blob/36d6b0bb6e319337180d523281c42d9611744e66/src/code.cs" , "36d6b0bb6e319337180d523281c42d9611744e66" , "36d6b0bb6e319337180d523281c42d9611744e66:src/code.cs" , "36d6b0bb6e319337180d523281c42d9611744e66" , "src/code.cs" , true , Description = "Resolve commit only" ) ]
335335 [ TestCase ( "https://github.com/github/VisualStudio/commit/8cf9a268c497adb4fc0a14572253165e179dd11e" , "8cf9a268c497adb4fc0a14572253165e179dd11e" , null , null , null ) ]
336336 public void ResolveBlob ( string url , string commitish , string objectish , string expectCommitish , string expectPath , bool expectIsSha = false )
0 commit comments