File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,12 +194,12 @@ func TestNushellActivateWithPidCheck(t *testing.T) {
194194 t .Error ("SelfPath was not properly replaced" )
195195 }
196196
197- // Verify that get -i is used (not get -o )
198- if strings .Contains (contentStr , "get -o hooks.pre_prompt" ) {
199- t .Error ("Found incorrect 'get -o ', should be 'get -i '" )
197+ // Verify that get -o is used (not get -i )
198+ if strings .Contains (contentStr , "get -i hooks.pre_prompt" ) {
199+ t .Error ("Found outdated 'get -i ', should be 'get -o '" )
200200 }
201- if ! strings .Contains (contentStr , "get -i hooks.pre_prompt" ) {
202- t .Error ("Missing correct 'get -i hooks.pre_prompt'" )
201+ if ! strings .Contains (contentStr , "get -o hooks.pre_prompt" ) {
202+ t .Error ("Missing correct 'get -o hooks.pre_prompt'" )
203203 }
204204
205205 // Check for PID check block presence/absence
You can’t perform that action at this time.
0 commit comments