File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ func TestDeleteUnexpandedPropsFromString(t *testing.T) {
100
100
str := "{key1} == {key2} == {key3} == true"
101
101
102
102
str = p .ExpandPropsInString (str )
103
- str , err := DeleteUnexpandedPropsFromString (str )
104
- require .NoError (t , err )
103
+ str = DeleteUnexpandedPropsFromString (str )
105
104
require .Equal (t , "42 == 42 == == true" , str )
106
105
}
107
106
@@ -112,8 +111,7 @@ func TestDeleteUnexpandedPropsFromString2(t *testing.T) {
112
111
str := "{key1} == {key2} == {key3} == true"
113
112
114
113
str = p .ExpandPropsInString (str )
115
- str , err := DeleteUnexpandedPropsFromString (str )
116
- require .NoError (t , err )
114
+ str = DeleteUnexpandedPropsFromString (str )
117
115
require .Equal (t , " == 42 == == true" , str )
118
116
}
119
117
You can’t perform that action at this time.
0 commit comments