@@ -96,7 +96,7 @@ public function testVariableEmpty()
9696 {
9797 $ this ->assertInstanceOf (Variable::class, Query::variable ());
9898
99- $ this ->assertMatchesRegularExpression ('/[0-9a-f]+/ ' , Query::variable ()->toQuery ());
99+ $ this ->assertMatchesRegularExpression ('/var [0-9a-f]+/ ' , Query::variable ()->toQuery ());
100100 }
101101
102102 public function testParameter ()
@@ -241,7 +241,7 @@ public function testReturningWithNode()
241241
242242 $ statement = (new Query ())->returning ($ node )->build ();
243243
244- $ this ->assertMatchesRegularExpression ("/(RETURN [0-9a-f]+)/ " , $ statement );
244+ $ this ->assertMatchesRegularExpression ("/(RETURN var [0-9a-f]+)/ " , $ statement );
245245
246246 $ node = Query::node ("m " );
247247 $ node ->named ('example ' );
@@ -408,7 +408,7 @@ public function testWithWithNode()
408408
409409 $ statement = (new Query ())->with ($ node )->build ();
410410
411- $ this ->assertMatchesRegularExpression ("/(WITH [0-9a-f]+)/ " , $ statement );
411+ $ this ->assertMatchesRegularExpression ("/(WITH var [0-9a-f]+)/ " , $ statement );
412412
413413 $ node = Query::node ("m " );
414414 $ node ->named ('example ' );
@@ -886,7 +886,7 @@ public function testAutomaticIdentifierGeneration()
886886 {
887887 $ node = Query::node ();
888888
889- $ this ->assertMatchesRegularExpression ('/[0-9a-f]+\.foo/ ' , $ node ->property ('foo ' )->toQuery ());
889+ $ this ->assertMatchesRegularExpression ('/var [0-9a-f]+\.foo/ ' , $ node ->property ('foo ' )->toQuery ());
890890
891891 $ node ->named ('foo ' );
892892
@@ -895,7 +895,7 @@ public function testAutomaticIdentifierGeneration()
895895 $ node = Query::node ();
896896 $ statement = Query::new ()->match ($ node )->returning ($ node )->build ();
897897
898- $ this ->assertMatchesRegularExpression ('/MATCH \([0-9a-f]+\) RETURN [0-9a-f]+/ ' , $ statement );
898+ $ this ->assertMatchesRegularExpression ('/MATCH \(var [0-9a-f]+\) RETURN var [0-9a-f]+/ ' , $ statement );
899899
900900 $ node = Query::node ();
901901
0 commit comments