File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/common/terminals Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,20 +107,20 @@ suite('Terminal Service helpers', () => {
107107 const safeTerminalOptions = terminalOptions || { } ;
108108 expect ( safeTerminalOptions ) . to . not . have . property ( 'PYTHONSTARTUP' ) ;
109109 } ) ;
110+
110111 test ( 'Create terminal should respect env passed in' , ( ) => {
111112 const terminal = 'Terminal Created' ;
112113 when ( terminalManager . createTerminal ( anything ( ) ) ) . thenReturn ( terminal as any ) ;
113114 terminalManager . createTerminal ( {
114- name : 'Python' ,
115+ name : 'Python' ,
115116 env : { } ,
116117 hideFromUser : undefined ,
117118 } ) ;
118119 const args = capture ( terminalManager . createTerminal ) . first ( ) [ 0 ] ;
119120 const terminalOptions = args . env ;
120121 const safeTerminalOptions = terminalOptions || { } ;
121122 expect ( safeTerminalOptions ) . to . have . property ( 'myCustomEnv' , '123' ) ;
122- } ) ;
123- } )
123+ } ) ;
124124
125125 test ( 'Create terminal without a title' , ( ) => {
126126 const terminal = 'Terminal Created' ;
You can’t perform that action at this time.
0 commit comments