mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
parent
ce24a6b961
commit
ed612a35ac
@ -1001,6 +1001,9 @@ func TestShow_corruptStatefile(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestShow_showSensitiveArg(t *testing.T) {
|
func TestShow_showSensitiveArg(t *testing.T) {
|
||||||
|
td := t.TempDir()
|
||||||
|
defer testChdir(t, td)()
|
||||||
|
|
||||||
originalState := stateWithSensitiveValueForShow()
|
originalState := stateWithSensitiveValueForShow()
|
||||||
|
|
||||||
testStateFileDefault(t, originalState)
|
testStateFileDefault(t, originalState)
|
||||||
@ -1030,6 +1033,9 @@ func TestShow_showSensitiveArg(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestShow_withoutShowSensitiveArg(t *testing.T) {
|
func TestShow_withoutShowSensitiveArg(t *testing.T) {
|
||||||
|
td := t.TempDir()
|
||||||
|
defer testChdir(t, td)()
|
||||||
|
|
||||||
originalState := stateWithSensitiveValueForShow()
|
originalState := stateWithSensitiveValueForShow()
|
||||||
|
|
||||||
testStateFileDefault(t, originalState)
|
testStateFileDefault(t, originalState)
|
||||||
|
Loading…
Reference in New Issue
Block a user