@@ -2297,7 +2297,7 @@ public void testChecks() throws Exception {
22972297 .select (
22982298 field ("rating" ).equal (nullValue ()).as ("ratingIsNull" ),
22992299 field ("rating" ).equal (Double .NaN ).as ("ratingIsNaN" ),
2300- // arrayGet("title", 0) evaluates to UNSET so it is not an error
2300+ // arrayGet("title", 0) evaluates to ERROR
23012301 arrayGet ("title" , 0 ).isError ().as ("isError" ),
23022302 arrayGet ("title" , 0 ).ifError (constant ("was error" )).as ("ifError" ),
23032303 field ("foo" ).isAbsent ().as ("isAbsent" ),
@@ -2318,7 +2318,9 @@ public void testChecks() throws Exception {
23182318 "ratingIsNaN" ,
23192319 false ,
23202320 "isError" ,
2321- false ,
2321+ true ,
2322+ "ifError" ,
2323+ "was error" ,
23222324 "isAbsent" ,
23232325 true ,
23242326 "titleIsNotNull" ,
@@ -3537,8 +3539,8 @@ public void testNestedFields() throws Exception {
35373539 assertThat (data (results ))
35383540 .isEqualTo (
35393541 Lists .newArrayList (
3540- map ("title" , "The Hitchhiker's Guide to the Galaxy" , "awards. hugo" , true ),
3541- map ("title" , "Dune" , "awards. hugo" , true )));
3542+ map ("title" , "The Hitchhiker's Guide to the Galaxy" , "awards" , map ( " hugo" , true ) ),
3543+ map ("title" , "Dune" , "awards" , map ( " hugo" , true ) )));
35423544 }
35433545
35443546 @ Test
@@ -3561,8 +3563,8 @@ public void testPipelineInTransactions() throws Exception {
35613563 assertThat (data (results ))
35623564 .isEqualTo (
35633565 Lists .newArrayList (
3564- map ("title" , "The Hitchhiker's Guide to the Galaxy" , "awards. hugo" , true ),
3565- map ("title" , "Dune" , "awards. hugo" , true )));
3566+ map ("title" , "The Hitchhiker's Guide to the Galaxy" , "awards" , map ( " hugo" , true ) ),
3567+ map ("title" , "Dune" , "awards" , map ( " hugo" , true ) )));
35663568
35673569 transaction .update (collection .document ("book1" ), map ("foo" , "bar" ));
35683570
0 commit comments