@@ -1748,7 +1748,7 @@ public void Location_in_ValueResult_correct_for_arguments()
1748
1748
{
1749
1749
command
1750
1750
} ;
1751
- var expectedOuterLocation = new Location ( "testhost" , Location . User , - 1 , null ) ;
1751
+ var expectedOuterLocation = new Location ( CliExecutable . ExecutableName , Location . User , - 1 , null ) ;
1752
1752
var expectedLocation1 = new Location ( "Kirk" , Location . User , 1 , expectedOuterLocation ) ;
1753
1753
var expectedLocation2 = new Location ( "Spock" , Location . User , 2 , expectedOuterLocation ) ;
1754
1754
@@ -1775,7 +1775,7 @@ public void Location_in_ValueResult_correct_for_options()
1775
1775
{
1776
1776
command
1777
1777
} ;
1778
- var expectedOuterLocation = new Location ( "testhost" , Location . User , - 1 , null ) ;
1778
+ var expectedOuterLocation = new Location ( CliExecutable . ExecutableName , Location . User , - 1 , null ) ;
1779
1779
var expectedLocation1 = new Location ( "Kirk" , Location . User , 3 , expectedOuterLocation ) ;
1780
1780
var expectedLocation2 = new Location ( "Spock" , Location . User , 5 , expectedOuterLocation ) ;
1781
1781
@@ -1802,7 +1802,7 @@ public void Location_offsets_in_ValueResult_correct_for_arguments()
1802
1802
{
1803
1803
command
1804
1804
} ;
1805
- var expectedOuterLocation = new Location ( "testhost" , Location . User , - 1 , null ) ;
1805
+ var expectedOuterLocation = new Location ( CliExecutable . ExecutableName , Location . User , - 1 , null ) ;
1806
1806
var expectedLocation1 = new Location ( "Kirk" , Location . User , 1 , expectedOuterLocation ) ;
1807
1807
var expectedLocation2 = new Location ( "Spock" , Location . User , 2 , expectedOuterLocation ) ;
1808
1808
@@ -1826,7 +1826,7 @@ public void Location_offsets_in_ValueResult_correct_for_options()
1826
1826
{
1827
1827
command
1828
1828
} ;
1829
- var expectedOuterLocation = new Location ( "testhost" , Location . User , - 1 , null ) ;
1829
+ var expectedOuterLocation = new Location ( CliExecutable . ExecutableName , Location . User , - 1 , null ) ;
1830
1830
var expectedLocation1 = new Location ( "Kirk" , Location . User , 3 , expectedOuterLocation ) ;
1831
1831
var expectedLocation2 = new Location ( "Spock" , Location . User , 5 , expectedOuterLocation ) ;
1832
1832
@@ -1852,7 +1852,7 @@ public void Location_offset_correct_when_colon_or_equal_used()
1852
1852
{
1853
1853
command
1854
1854
} ;
1855
- var expectedOuterLocation = new Location ( "testhost" , Location . User , - 1 , null ) ;
1855
+ var expectedOuterLocation = new Location ( CliExecutable . ExecutableName , Location . User , - 1 , null ) ;
1856
1856
var expectedLocation1 = new Location ( "Kirk" , Location . User , 2 , expectedOuterLocation , 7 ) ;
1857
1857
var expectedLocation2 = new Location ( "Spock" , Location . User , 3 , expectedOuterLocation , 8 ) ;
1858
1858
0 commit comments