File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
tests/HydraScript.UnitTests/Domain/BackEnd Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 11using HydraScript . Domain . BackEnd ;
2- using HydraScript . Domain . BackEnd . Impl ;
32using HydraScript . Domain . BackEnd . Impl . Instructions . WithAssignment ;
43using HydraScript . Domain . BackEnd . Impl . Values ;
54
@@ -8,7 +7,7 @@ namespace HydraScript.UnitTests.Domain.BackEnd;
87public class AsStringTests
98{
109 [ Theory , AutoHydraScriptData ]
11- public void Execute_String_NoQuotes ( VirtualMachine vm )
10+ public void Execute_String_NoQuotes ( TestVirtualMachine vm )
1211 {
1312 // Arrange
1413 AddressedInstructions program = [ new AsString ( new Constant ( "string" ) ) ] ;
@@ -18,8 +17,7 @@ public void Execute_String_NoQuotes(VirtualMachine vm)
1817 program [ program . Start ] . Execute ( vm . ExecuteParams ) ;
1918
2019 // Assert
21- var frame = vm . ExecuteParams . FrameContext . Current ;
22- frame [ program . Start . Name ] . Should ( ) . Be ( "string" ) ;
23- frame [ program . Start . Name ] . Should ( ) . NotBe ( "\" string\" " ) ;
20+ vm . Frame [ program . Start . Name ] . Should ( ) . Be ( "string" ) ;
21+ vm . Frame [ program . Start . Name ] . Should ( ) . NotBe ( "\" string\" " ) ;
2422 }
2523}
You can’t perform that action at this time.
0 commit comments