This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
src/GitHub.TeamFoundation.14
test/GitHub.TeamFoundation.UnitTests Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 99using GitHub . Services ;
1010using Microsoft . Win32 ;
1111using Serilog ;
12+ using static System . FormattableString ;
1213
1314namespace GitHub . TeamFoundation
1415{
@@ -18,7 +19,7 @@ internal class RegistryHelper
1819
1920 static RegistryKey OpenGitKey ( string path )
2021 {
21- var keyName = $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ TeamFoundation\\ GitSourceControl\\ { path } ";
22+ var keyName = Invariant ( $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ TeamFoundation\\ GitSourceControl\\ { path } ") ;
2223 return Registry . CurrentUser . OpenSubKey ( keyName , true ) ;
2324 }
2425
@@ -64,7 +65,7 @@ internal static string PokeTheRegistryForLocalClonePath()
6465 const string MRUKeyPath = "MRUSettingsLocalProjectLocationEntries" ;
6566 internal static string SetDefaultProjectPath ( string path )
6667 {
67- var newProjectDialogKeyPath = $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ NewProjectDialog";
68+ var newProjectDialogKeyPath = Invariant ( $ "Software\\ Microsoft\\ VisualStudio\\ { MajorVersion } .0\\ NewProjectDialog") ;
6869
6970 var old = String . Empty ;
7071 try
Original file line number Diff line number Diff line change 1717
1818public class VSGitExtTests
1919{
20- public class TheConstructor
20+ public class TheConstructor : TestBaseClass
2121 {
2222 [ TestCase ( true , 1 ) ]
2323 [ TestCase ( false , 0 ) ]
@@ -63,7 +63,7 @@ public void ActiveRepositories_ReadUsingThreadPoolThread()
6363 }
6464 }
6565
66- public class TheActiveRepositoriesChangedEvent
66+ public class TheActiveRepositoriesChangedEvent : TestBaseClass
6767 {
6868 [ Test ]
6969 public void GitExtPropertyChangedEvent_ActiveRepositoriesChangedIsFired ( )
@@ -133,7 +133,7 @@ public void WhenUIContextChanged_FiredUsingThreadPoolThread()
133133 }
134134 }
135135
136- public class TheActiveRepositoriesProperty
136+ public class TheActiveRepositoriesProperty : TestBaseClass
137137 {
138138 [ Test ]
139139 public void RepositoryOpenContextNotActive_IsEmpty ( )
You can’t perform that action at this time.
0 commit comments