Skip to content

Commit 559f5f6

Browse files
JLKwongdogi
andauthored
update tests/remote.bats (fixes #2141) (#2142)
Co-authored-by: dogi <dogi@users.noreply.github.com>
1 parent f23b467 commit 559f5f6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@treehouses/cli",
3-
"version": "1.25.41",
3+
"version": "1.25.42",
44
"remote": "4000",
55
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
66
"main": "cli.sh",

tests/remote.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,8 @@ load test-helper
3535
run "${clicmd}" remote commands json
3636
assert_success
3737
}
38+
39+
@test "$clinom remote reverse" {
40+
run "${clicmd}" remote reverse
41+
assert_output --partial '"ip"' && assert_output --partial '"org"' && assert_output --partial '"country"' && assert_output --partial '"city"' && assert_output --partial '"postal"' && assert_output --partial '"timezone"'
42+
}

0 commit comments

Comments
 (0)