@@ -39,12 +39,12 @@ package body Tester.Tests is
39
39
Max_Wait : constant := 16.0 ;
40
40
-- Max number of seconds to wait on a given snippet
41
41
42
- type Command_Kind is (Start, Stop, Send, Shell, Append_To_Env , Comment);
42
+ type Command_Kind is (Start, Stop, Send, Shell, Prepend_To_Env , Comment);
43
43
44
- procedure Do_Append_To_Env
44
+ procedure Do_Prepend_To_Env
45
45
(Self : in out Test'Class;
46
46
Command : GNATCOLL.JSON.JSON_Value);
47
- -- Implementation of `append_to_env ` command
47
+ -- Implementation of `prepend_to_env ` command
48
48
49
49
procedure Do_Start
50
50
(Self : in out Test'Class;
@@ -167,11 +167,11 @@ package body Tester.Tests is
167
167
GNAT.OS_Lib.OS_Exit (1 );
168
168
end Do_Abort ;
169
169
170
- -- --------------------
171
- -- Do_Append_To_Env --
172
- -- --------------------
170
+ -- ---------------------
171
+ -- Do_Prepend_To_Env --
172
+ -- ---------------------
173
173
174
- procedure Do_Append_To_Env
174
+ procedure Do_Prepend_To_Env
175
175
(Self : in out Test'Class;
176
176
Command : GNATCOLL.JSON.JSON_Value)
177
177
is
@@ -186,16 +186,16 @@ package body Tester.Tests is
186
186
if Self.Environment.Contains (Name) then
187
187
Self.Environment.Insert
188
188
(Name,
189
- Self.Environment. Value (Name)
189
+ Value.Get
190
190
& GNAT.OS_Lib.Path_Separator &
191
- Value.Get );
191
+ Self.Environment.Value (Name) );
192
192
else
193
193
Self.Environment.Insert (Name, Value.Get);
194
194
end if ;
195
195
end On_Key ;
196
196
begin
197
197
Command.Map_JSON_Object (On_Key'Access );
198
- end Do_Append_To_Env ;
198
+ end Do_Prepend_To_Env ;
199
199
200
200
-- -----------
201
201
-- Do_Fail --
@@ -926,8 +926,8 @@ package body Tester.Tests is
926
926
Self.Do_Stop (Value);
927
927
when Send =>
928
928
Self.Do_Send (Value);
929
- when Append_To_Env =>
930
- Self.Do_Append_To_Env (Value);
929
+ when Prepend_To_Env =>
930
+ Self.Do_Prepend_To_Env (Value);
931
931
when Shell =>
932
932
Self.Do_Shell (Value);
933
933
when Comment =>
0 commit comments