Skip to content

Commit

Permalink
return list instead of vector
Browse files Browse the repository at this point in the history
  • Loading branch information
jinnovation committed Sep 22, 2024
1 parent bee45ae commit 3c59507
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kele.el
Original file line number Diff line number Diff line change
Expand Up @@ -2095,8 +2095,8 @@ OBJ is assumed to be a `kele--resource-container'."
(equal
(alist-get 'protocol port-spec)
protocol))
ports)
ports))))
(append ports '()))
(append ports '())))))

(defun kele--port-forwards-active-p ()
"Return non-nil if there are any port-forwards active."
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test-kele.el
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ metadata:
(protocol . "TCP")
(port . 8081))]))))))
:to-equal
[((name . "foo") (protocol . "TCP") (port . 8081))]))
(((name . "foo") (protocol . "TCP") (port . 8081)))))
(it "filters by protocol"
(expect
(kele--service-ports
Expand Down

0 comments on commit 3c59507

Please sign in to comment.