File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
RubberduckTests/TodoExplorer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ public void PicksUpComments_SpecialCharacters()
90
90
const string inputCode =
91
91
@"' To-do - this is a todo comment
92
92
' N@TE this is a note comment
93
- ' bug: this should work with a colon separator
93
+ ' bug this should work with a trailing space
94
+ ' bug: this should not be seen due to the colon
94
95
" ;
95
96
96
97
var builder = new MockVbeBuilder ( ) ;
@@ -102,7 +103,7 @@ public void PicksUpComments_SpecialCharacters()
102
103
var parser = MockParser . Create ( vbe . Object ) ;
103
104
using ( var state = parser . State )
104
105
{
105
- var cs = GetConfigService ( new [ ] { "TO-DO" , "N@TE" , "BUG" } ) ;
106
+ var cs = GetConfigService ( new [ ] { "TO-DO" , "N@TE" , "BUG " } ) ;
106
107
var vm = new ToDoExplorerViewModel ( state , cs , GetOperatingSystemMock ( ) . Object ) ;
107
108
108
109
parser . Parse ( new CancellationTokenSource ( ) ) ;
@@ -113,7 +114,7 @@ public void PicksUpComments_SpecialCharacters()
113
114
114
115
var comments = vm . Items . Select ( s => s . Type ) ;
115
116
116
- Assert . IsTrue ( comments . SequenceEqual ( new [ ] { "TO-DO" , "N@TE" , "BUG" } ) ) ;
117
+ Assert . IsTrue ( comments . SequenceEqual ( new [ ] { "TO-DO" , "N@TE" , "BUG " } ) ) ;
117
118
}
118
119
}
119
120
You can’t perform that action at this time.
0 commit comments