@@ -29,7 +29,7 @@ describe('The Clang provider for AtomLinter', () => {
29
29
expect ( messages [ 0 ] . severity ) . toBe ( 'error' ) ;
30
30
expect ( messages [ 0 ] . excerpt ) . toBe ( "'nothing.h' file not found" ) ;
31
31
expect ( messages [ 0 ] . location . file ) . toBe ( `${ miPath } .c` ) ;
32
- expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 17 ] ] ) ;
32
+ expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 20 ] ] ) ;
33
33
} ) ;
34
34
35
35
it ( 'finds a fatal error in "missing_import.cpp"' , async ( ) => {
@@ -39,7 +39,7 @@ describe('The Clang provider for AtomLinter', () => {
39
39
expect ( messages [ 0 ] . severity ) . toBe ( 'error' ) ;
40
40
expect ( messages [ 0 ] . excerpt ) . toBe ( "'nothing.h' file not found" ) ;
41
41
expect ( messages [ 0 ] . location . file ) . toBe ( `${ miPath } .cpp` ) ;
42
- expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 17 ] ] ) ;
42
+ expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 20 ] ] ) ;
43
43
} ) ;
44
44
45
45
it ( 'finds a fatal error in "missing_import.m"' , async ( ) => {
@@ -49,7 +49,7 @@ describe('The Clang provider for AtomLinter', () => {
49
49
expect ( messages [ 0 ] . severity ) . toBe ( 'error' ) ;
50
50
expect ( messages [ 0 ] . excerpt ) . toBe ( "'nothing.h' file not found" ) ;
51
51
expect ( messages [ 0 ] . location . file ) . toBe ( `${ miPath } .m` ) ;
52
- expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 17 ] ] ) ;
52
+ expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 20 ] ] ) ;
53
53
} ) ;
54
54
55
55
it ( 'finds a fatal error in "missing_import.mm"' , async ( ) => {
@@ -59,7 +59,7 @@ describe('The Clang provider for AtomLinter', () => {
59
59
expect ( messages [ 0 ] . severity ) . toBe ( 'error' ) ;
60
60
expect ( messages [ 0 ] . excerpt ) . toBe ( "'nothing.h' file not found" ) ;
61
61
expect ( messages [ 0 ] . location . file ) . toBe ( `${ miPath } .mm` ) ;
62
- expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 17 ] ] ) ;
62
+ expect ( messages [ 0 ] . location . position ) . toEqual ( [ [ 1 , 9 ] , [ 1 , 20 ] ] ) ;
63
63
} ) ;
64
64
} ) ;
65
65
} ) ;
0 commit comments