summaryrefslogtreecommitdiff
path: root/tests/has_ip_address.pp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/has_ip_address.pp')
-rw-r--r--tests/has_ip_address.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/has_ip_address.pp b/tests/has_ip_address.pp
new file mode 100644
index 0000000..e770a11
--- /dev/null
+++ b/tests/has_ip_address.pp
@@ -0,0 +1,3 @@
+include stdlib
+info("has_ip_address('192.168.1.256'):", has_ip_address('192.168.1.256'))
+info("has_ip_address('127.0.0.1'):", has_ip_address('127.0.0.1'))