Skip to content

Commit

Permalink
tell the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
caumond committed Oct 7, 2023
1 parent fec7e48 commit e8bc581
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/clj/automaton_core/adapters/env_var_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
[clojure.test :refer [deftest is testing]]))

(deftest get-env-var-test
(testing "Find the shell name in environment variable"
(is (string? (sut/get-env "TERM")))))
(testing "Find the shell name in environment variable. TERM is find locally, RUNNER_OS on Github, as apparently no env var is common to both environments"
(is (or (string? (sut/get-env "TERM"))
(string? (sut/get-env "RUNNER_OS"))))))

(deftest get-env-vars-test
(testing "Env vars are ok"
Expand Down

0 comments on commit e8bc581

Please sign in to comment.