implement get_path
This commit is contained in:
parent
1c9efc3cad
commit
a476690279
@ -269,6 +269,12 @@ module Cmdtest
|
|||||||
|
|
||||||
#------------------------------
|
#------------------------------
|
||||||
|
|
||||||
|
def get_path
|
||||||
|
@_env_path
|
||||||
|
end
|
||||||
|
|
||||||
|
#------------------------------
|
||||||
|
|
||||||
def windows?
|
def windows?
|
||||||
Util.windows?
|
Util.windows?
|
||||||
end
|
end
|
||||||
@ -549,7 +555,7 @@ module Cmdtest
|
|||||||
msg << "ERROR: instead at EOF"
|
msg << "ERROR: instead at EOF"
|
||||||
else
|
else
|
||||||
msg << "ERROR: instead followed by:"
|
msg << "ERROR: instead followed by:"
|
||||||
for line in actual_lines[(offset+match_size)..-1]
|
for line in actual_lines[(offset+match_size)...(offset+expected_lines.size)]
|
||||||
msg << " " + _show_line(line)
|
msg << " " + _show_line(line)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user