dctlenv/test/dctlenv-root.bats

11 lines
192 B
Bash

#!/usr/bin/env bats
load "./test_helper"
@test "dctlenv root: returns current DCTLENV_ROOT" {
DCTLENV_ROOT=/tmp/dctlenv run dctlenv root
assert_success
assert_output '/tmp/dctlenv'
}