This is an automated email from the ASF dual-hosted git repository.

jrgemignani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/master by this push:
     new 14732bfa Fix locale-dependent string comparison in direct_field_access 
test (#2439)
14732bfa is described below

commit 14732bfaf4a63a1ac9775d7dc7a2c0eed3f47ab2
Author: serdarmumcu <[email protected]>
AuthorDate: Fri Jun 12 00:05:26 2026 +0300

    Fix locale-dependent string comparison in direct_field_access test (#2439)
    
    Replace 'test' > 'TEST' with deterministic 'abd' > 'abc'. The original
    comparison returns different results depending on system collation
    settings (true under C locale, false under en_US.UTF-8).
---
 regress/expected/direct_field_access.out | 2 +-
 regress/sql/direct_field_access.sql      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/regress/expected/direct_field_access.out 
b/regress/expected/direct_field_access.out
index 0a059cdd..25082d9f 100644
--- a/regress/expected/direct_field_access.out
+++ b/regress/expected/direct_field_access.out
@@ -78,7 +78,7 @@ $$) AS (lt agtype, gt agtype, eq agtype, ne agtype);
 (1 row)
 
 SELECT * FROM cypher('direct_access', $$
-    RETURN 'hello world' < 'hello worlds', 'test' > 'TEST'
+    RETURN 'hello world' < 'hello worlds', 'abd' > 'abc'
 $$) AS (lt agtype, gt agtype);
   lt  |  gt  
 ------+------
diff --git a/regress/sql/direct_field_access.sql 
b/regress/sql/direct_field_access.sql
index c8060be4..3ca2259f 100644
--- a/regress/sql/direct_field_access.sql
+++ b/regress/sql/direct_field_access.sql
@@ -61,7 +61,7 @@ SELECT * FROM cypher('direct_access', $$
 $$) AS (lt agtype, gt agtype, eq agtype, ne agtype);
 
 SELECT * FROM cypher('direct_access', $$
-    RETURN 'hello world' < 'hello worlds', 'test' > 'TEST'
+    RETURN 'hello world' < 'hello worlds', 'abd' > 'abc'
 $$) AS (lt agtype, gt agtype);
 
 -- Boolean comparisons

Reply via email to