File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dotnet/test/common/BiDi/Script Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ await context.Script.CallFunctionAsync($$"""
314314 [ Test ]
315315 public void CanCallFunctionWithArgumentArray ( )
316316 {
317- var arg = new ArrayLocalValue ( [ "hi" ] ) ;
317+ var arg = new ArrayLocalValue ( [ new StringLocalValue ( "hi" ) ] ) ;
318318
319319 Assert . That ( async ( ) =>
320320 {
@@ -331,7 +331,7 @@ await context.Script.CallFunctionAsync($$"""
331331 [ Test ]
332332 public void CanCallFunctionWithArgumentObject ( )
333333 {
334- var arg = new ObjectLocalValue ( [ [ "objKey" , "objValue" ] ] ) ;
334+ var arg = new ObjectLocalValue ( [ [ new StringLocalValue ( "objKey" ) , new StringLocalValue ( "objValue" ) ] ] ) ;
335335
336336 Assert . That ( async ( ) =>
337337 {
@@ -348,7 +348,7 @@ await context.Script.CallFunctionAsync($$"""
348348 [ Test ]
349349 public void CanCallFunctionWithArgumentMap ( )
350350 {
351- var arg = new MapLocalValue ( [ [ "mapKey" , "mapValue" ] ] ) ;
351+ var arg = new MapLocalValue ( [ [ new StringLocalValue ( "mapKey" ) , new StringLocalValue ( "mapValue" ) ] ] ) ;
352352
353353 Assert . That ( async ( ) =>
354354 {
@@ -365,7 +365,7 @@ await context.Script.CallFunctionAsync($$"""
365365 [ Test ]
366366 public void CanCallFunctionWithArgumentSet ( )
367367 {
368- var arg = new SetLocalValue ( [ "setKey" ] ) ;
368+ var arg = new SetLocalValue ( [ new StringLocalValue ( "setKey" ) ] ) ;
369369
370370 Assert . That ( async ( ) =>
371371 {
You can’t perform that action at this time.
0 commit comments