@@ -193,22 +193,6 @@ public async Task ProcessAsync_Htmx4_Inherited_UsesInheritedAttribute()
193193 Assert . That ( output . Attributes [ "hx-config" ] , Is . Null ) ;
194194 }
195195
196- [ Test ]
197- public async Task ProcessAsync_Htmx4_Inherited_UsesConfiguredMetaCharacter ( )
198- {
199- var output = TestHelper . CreateTagHelperOutput ( ) ;
200- var helper = CreateHelper ( HtmxTargetVersion . V4 , "-" ) ;
201-
202- helper . Inherited = true ;
203- helper . Timeout = 500 ;
204-
205- await helper . ProcessAsync ( TestHelper . CreateTagHelperContext ( ) , output ) ;
206- var attribute = output . Attributes [ "hx-config-inherited" ] ;
207-
208- Assert . That ( attribute ! . Value . ToString ( ) , Is . EqualTo ( "{\" timeout\" :500}" ) ) ;
209- Assert . That ( output . Attributes [ "hx-config:inherited" ] , Is . Null ) ;
210- }
211-
212196 [ Test ]
213197 public async Task ProcessAsync_Htmx4_Inherited_WithImplicitInheritance_StillUsesInheritedAttribute ( )
214198 {
@@ -269,7 +253,7 @@ public async Task ProcessAsync_Htmx1_Htmx2_Inherited_UsesOrdinaryAttribute(HtmxT
269253 Assert . That ( output . Attributes [ "hx-inherit" ] , Is . Null ) ;
270254 }
271255
272- private static HtmxRequestTagHelper CreateHelper ( HtmxTargetVersion version , string ? metachar = null , bool ? implicitInheritance = null )
256+ private static HtmxRequestTagHelper CreateHelper ( HtmxTargetVersion version , bool ? implicitInheritance = null )
273257 {
274258 var options = new HtmxToolkitOptions ( ) ;
275259
@@ -282,11 +266,7 @@ private static HtmxRequestTagHelper CreateHelper(HtmxTargetVersion version, stri
282266 options . UseHtmxV2 ( ) ;
283267 break ;
284268 case HtmxTargetVersion . V4 :
285- options . UseHtmxV4 ( config =>
286- {
287- config . MetaCharacter = metachar ;
288- config . ImplicitInheritance = implicitInheritance ;
289- } ) ;
269+ options . UseHtmxV4 ( config => config . ImplicitInheritance = implicitInheritance ) ;
290270 break ;
291271 default :
292272 throw new ArgumentOutOfRangeException ( nameof ( version ) ) ;
0 commit comments