Skip to content

Commit dcb5669

Browse files
authored
Update sensitive_test.go
Fixing tests
1 parent e46f4a0 commit dcb5669

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/lang/funcs/sensitive_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@ func TestNonsensitive(t *testing.T) {
130130
``,
131131
},
132132

133-
// Passing a value that is already non-sensitive is an error,
134-
// because this function should always be used with specific
135-
// intention, not just as a "make everything visible" hammer.
133+
// Passing a value that is already non-sensitive is not an error,
134+
// as this function may be used with specific to ensure that all
135+
// values are indeed non-sensitive
136136
{
137137
cty.NumberIntVal(1),
138-
`the given value is not sensitive, so this call is redundant`,
138+
``,
139139
},
140140
{
141141
cty.NullVal(cty.String),
142-
`the given value is not sensitive, so this call is redundant`,
142+
``,
143143
},
144144

145145
// Unknown values may become sensitive once they are known, so we

0 commit comments

Comments
 (0)