Skip to content

Commit 19752a7

Browse files
committed
Remove todo for delete() and update spec
This spec should verify that substring matches are not removed in the future
1 parent 232de13 commit 19752a7

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ This release provides several new functions, bugfixes, modulesync changes, and s
1414
- Extends `suffix` to support applying a suffix to keys in a hash.
1515
- Apply modulesync changes.
1616
- Add validate_email_address function.
17-
- Add support for regular expressions to delete.
1817

1918
####Bugfixes
2019
- Fixes `fqdn_rand_string` tests, since Puppet 4.4.0 and later have a higher `fqdn_rand` ceiling.

spec/functions/delete_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
it { is_expected.to run.with_params(['two'], 'two').and_return([]) }
1414
it { is_expected.to run.with_params(['two', 'two'], 'two').and_return([]) }
1515
it { is_expected.to run.with_params(['one', 'two', 'three'], 'four').and_return(['one', 'two', 'three']) }
16+
it { is_expected.to run.with_params(['one', 'two', 'three'], 'e').and_return(['one', 'two', 'three']) }
1617
it { is_expected.to run.with_params(['one', 'two', 'three'], 'two').and_return(['one', 'three']) }
1718
it { is_expected.to run.with_params(['two', 'one', 'two', 'three', 'two'], 'two').and_return(['one', 'three']) }
1819
it { is_expected.to run.with_params(['one', 'two', 'three', 'two'], ['one', 'two']).and_return(['three']) }

0 commit comments

Comments
 (0)