@@ -516,7 +516,7 @@ module FourSlash {
516
516
}
517
517
518
518
if ( ! passed ) {
519
- var errorMessage = "Expected outputFilename '" + filename + "', but actualy outputFilename '" ;
519
+ var errorMessage = "Expected outputFilename '" + filename + "', but actual outputFilename '" ;
520
520
emit . outputFiles . forEach ( ( outputFile , idx , array ) => {
521
521
errorMessage += outputFile . name ;
522
522
if ( idx !== emit . outputFiles . length - 1 ) {
@@ -1274,7 +1274,7 @@ module FourSlash {
1274
1274
1275
1275
private applyEdits ( fileName : string , edits : ts . TextChange [ ] , isFormattingEdit = false ) : number {
1276
1276
// We get back a set of edits, but langSvc.editScript only accepts one at a time. Use this to keep track
1277
- // of the incremental offest from each edit to the next. Assumption is that these edit ranges don't overlap
1277
+ // of the incremental offset from each edit to the next. Assumption is that these edit ranges don't overlap
1278
1278
var runningOffset = 0 ;
1279
1279
edits = edits . sort ( ( a , b ) => a . span . start ( ) - b . span . start ( ) ) ;
1280
1280
// Get a snapshot of the content of the file so we can make sure any formatting edits didn't destroy non-whitespace characters
@@ -1351,7 +1351,7 @@ module FourSlash {
1351
1351
1352
1352
var definitions = this . languageService . getDefinitionAtPosition ( this . activeFile . fileName , this . currentCaretPosition ) ;
1353
1353
if ( ! definitions || ! definitions . length ) {
1354
- throw new Error ( 'goToDefinition failed - expected to at least one defintion location but got 0' ) ;
1354
+ throw new Error ( 'goToDefinition failed - expected to at least one definition location but got 0' ) ;
1355
1355
}
1356
1356
1357
1357
if ( definitionIndex >= definitions . length ) {
@@ -1371,10 +1371,10 @@ module FourSlash {
1371
1371
var foundDefinitions = definitions && definitions . length ;
1372
1372
1373
1373
if ( foundDefinitions && negative ) {
1374
- throw new Error ( 'goToDefinition - expected to 0 defintion locations but got ' + definitions . length ) ;
1374
+ throw new Error ( 'goToDefinition - expected to 0 definition locations but got ' + definitions . length ) ;
1375
1375
}
1376
1376
else if ( ! foundDefinitions && ! negative ) {
1377
- throw new Error ( 'goToDefinition - expected to at least one defintion location but got 0' ) ;
1377
+ throw new Error ( 'goToDefinition - expected to at least one definition location but got 0' ) ;
1378
1378
}
1379
1379
}
1380
1380
@@ -2222,7 +2222,7 @@ module FourSlash {
2222
2222
/// A list of ranges we've collected so far */
2223
2223
var localRanges : Range [ ] = [ ] ;
2224
2224
2225
- /// The latest position of the start of an unflushed plaintext area
2225
+ /// The latest position of the start of an unflushed plain text area
2226
2226
var lastNormalCharPosition : number = 0 ;
2227
2227
2228
2228
/// The total number of metacharacters removed from the file (so far)
0 commit comments