We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7904886 commit 6b69bcbCopy full SHA for 6b69bcb
test/number-only.test.sh
@@ -0,0 +1,11 @@
1
+#!/usr/bin/env bash
2
+# Copyright (c) 2018 Joel Wallis Jucá <joelwallis@gmail.com>
3
+# ISC licensed
4
+
5
+@test "is a function" {
6
+ type numeric-only | grep function
7
+ [ "$status" -eq 0 ]
8
9
+ numeric-only
10
11
+}
0 commit comments