@@ -189,8 +189,7 @@ suite('Terminal Service', () => {
189189 terminal . verify ( ( t ) => t . sendText ( TypeMoq . It . isValue ( textToSend ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
190190 } ) ;
191191
192- // Ensure sendText is called when Python shell integration are disabled.
193- test ( 'Ensure text is sent to terminal and it is shown when Python shell integration is disabled' , async ( ) => {
192+ test ( 'Ensure sendText is used when Python shell integration is disabled' , async ( ) => {
194193 pythonConfig
195194 . setup ( ( p ) => p . get ( 'terminal.shellIntegration.enabled' ) )
196195 . returns ( ( ) => false )
@@ -211,7 +210,6 @@ suite('Terminal Service', () => {
211210 terminal . verify ( ( t ) => t . sendText ( TypeMoq . It . isValue ( textToSend ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
212211 } ) ;
213212
214- // Ensure sendText is called when terminal.shellIntegration is enabled but Python shell integration is disabled
215213 test ( 'Ensure sendText is called when terminal.shellIntegration enabled but Python shell integration disabled' , async ( ) => {
216214 pythonConfig
217215 . setup ( ( p ) => p . get ( 'terminal.shellIntegration.enabled' ) )
@@ -233,8 +231,7 @@ suite('Terminal Service', () => {
233231 terminal . verify ( ( t ) => t . sendText ( TypeMoq . It . isValue ( textToSend ) ) , TypeMoq . Times . exactly ( 1 ) ) ;
234232 } ) ;
235233
236- // Ensure executeCommand is called when Python shell integration and terminal shell integration are both enabled
237- test ( 'Ensure sendText is not called when Python shell integration and terminal shell integration are both enabled' , async ( ) => {
234+ test ( 'Ensure sendText is NOT called when Python shell integration and terminal shell integration are both enabled' , async ( ) => {
238235 pythonConfig
239236 . setup ( ( p ) => p . get ( 'terminal.shellIntegration.enabled' ) )
240237 . returns ( ( ) => true )
0 commit comments