We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e3c21 commit 78dea0eCopy full SHA for 78dea0e
internal/generic/default_value_test.go
@@ -48,6 +48,12 @@ func TestDefaultValue(t *testing.T) {
48
defaultValue: types.String{Value: "alpha"},
49
expectedValue: types.String{Value: "alpha"},
50
},
51
+ "default string on create": {
52
+ plannedValue: types.String{Null: true},
53
+ currentValue: types.String{Null: true},
54
+ defaultValue: types.String{Value: "alpha"},
55
+ expectedValue: types.String{Null: true},
56
+ },
57
"non-default non-Null number": {
58
plannedValue: types.Number{Value: big.NewFloat(30)},
59
currentValue: types.Number{Value: big.NewFloat(10)},
0 commit comments