@@ -720,7 +720,7 @@ public async Task JsonShouldWriteNullIfDictionaryNotReturnFluidIndexable()
720720 options . MemberAccessStrategy . Register ( model . GetType ( ) ) ;
721721 var input = FluidValue . Create ( model , options ) ;
722722 var result = await MiscFilters . Json ( input , new FilterArguments ( ) , new TemplateContext ( options ) ) ;
723- Assert . Equal ( "{\" Id\" :1,\" WithoutIndexable\" :{\" Type\" :5 ,\" Value\" :{}},\" Bool\" :true}" , result . ToStringValue ( ) ) ;
723+ Assert . Equal ( "{\" Id\" :1,\" WithoutIndexable\" :{\" Type\" :6 ,\" Value\" :{}},\" Bool\" :true}" , result . ToStringValue ( ) ) ;
724724 }
725725
726726 [ Fact ]
@@ -910,7 +910,7 @@ public async Task HmacSha1(string key, string value, string expected)
910910 {
911911 // Arrange
912912 FluidValue input = value is null
913- ? NilValue . Empty
913+ ? EmptyValue . Instance
914914 : new StringValue ( value ) ;
915915 var arguments = new FilterArguments ( FluidValue . Create ( key , TemplateOptions . Default ) ) ;
916916 var context = new TemplateContext ( ) ;
@@ -932,7 +932,7 @@ public async Task HmacSha256(string key, string value, string expected)
932932 {
933933 // Arrange
934934 FluidValue input = value is null
935- ? NilValue . Empty
935+ ? EmptyValue . Instance
936936 : new StringValue ( value ) ;
937937 var arguments = new FilterArguments ( FluidValue . Create ( key , TemplateOptions . Default ) ) ;
938938 var context = new TemplateContext ( ) ;
0 commit comments