@@ -75,8 +75,8 @@ public void InEquality1Fact()
7575 [ Fact ]
7676 public void InEquality2Fact ( )
7777 {
78- GraphQLRequest graphQLRequest1 = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName" ) ;
79- GraphQLRequest graphQLRequest2 = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue2" } , "operationName" ) ;
78+ var graphQLRequest1 = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName" ) ;
79+ var graphQLRequest2 = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue2" } , "operationName" ) ;
8080 Assert . NotEqual ( graphQLRequest1 , graphQLRequest2 ) ;
8181 }
8282
@@ -122,8 +122,11 @@ public void PropertyQueryGetFact()
122122 [ Fact ]
123123 public void PropertyQuerySetFact ( )
124124 {
125- var graphQLRequest = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName" ) ;
126- graphQLRequest . Query = "{hero{name2}}" ;
125+ var graphQLRequest =
126+ new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName" )
127+ {
128+ Query = "{hero{name2}}"
129+ } ;
127130 Assert . Equal ( "{hero{name2}}" , graphQLRequest . Query ) ;
128131 }
129132
@@ -144,8 +147,10 @@ public void PropertyOperationNameNullGetFact()
144147 [ Fact ]
145148 public void PropertyOperationNameSetFact ( )
146149 {
147- var graphQLRequest = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue" } , "operationName1" ) ;
148- graphQLRequest . OperationName = "operationName2" ;
150+ var graphQLRequest = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue" } , "operationName1" )
151+ {
152+ OperationName = "operationName2"
153+ } ;
149154 Assert . Equal ( "operationName2" , graphQLRequest . OperationName ) ;
150155 }
151156
@@ -166,10 +171,9 @@ public void PropertyVariableNullGetFact()
166171 [ Fact ]
167172 public void PropertyVariableSetFact ( )
168173 {
169- var graphQLRequest = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName1" ) ;
170- graphQLRequest . Variables = new
174+ var graphQLRequest = new GraphQLRequest ( "{hero{name}}" , new { varName = "varValue1" } , "operationName1" )
171175 {
172- varName = "varValue2"
176+ Variables = new { varName = "varValue2" }
173177 } ;
174178 Assert . Equal ( new
175179 {
0 commit comments