Skip to content

Commit 6b69bcb

Browse files
committed
WIP: Unit tests
1 parent 7904886 commit 6b69bcb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/number-only.test.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
# Copyright (c) 2018 Joel Wallis Jucá <[email protected]>
3+
# ISC licensed
4+
5+
@test "is a function" {
6+
type numeric-only | grep function
7+
[ "$status" -eq 0 ]
8+
9+
numeric-only
10+
[ "$status" -eq 0 ]
11+
}

0 commit comments

Comments
 (0)