summaryrefslogtreecommitdiff
path: root/tests/has_element.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/has_element.pp')
-rw-r--r--tests/has_element.pp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/has_element.pp b/tests/has_element.pp
deleted file mode 100644
index ec06aac..0000000
--- a/tests/has_element.pp
+++ /dev/null
@@ -1,9 +0,0 @@
-include stdlib
-
-$my_array = ['key_one']
-if has_element($my_array, 'key_two') {
- notice('we will not reach here')
-}
-if has_element($my_array, 'key_one') {
- notice('this will be printed')
-}