Project

General

Profile

« Previous | Next » 

Revision 4c18f820

Added by Ivan Necas over 10 years ago

Update to librarian

View differences:

modules/stdlib/spec/unit/puppet/parser/functions/delete_at_spec.rb
result = scope.function_delete_at([['a','b','c'],1])
result.should(eq(['a','c']))
end
it "should not change origin array passed as argument" do
origin_array = ['a','b','c','d']
result = scope.function_delete_at([origin_array, 1])
origin_array.should(eq(['a','b','c','d']))
end
end

Also available in: Unified diff