Skip to content

unicode-data-0.6.0 testsuite: update to Unicode 16 #137

@juhp

Description

@juhp

Testsuite fails with ghc-9.12.2

      Test suite failure for package unicode-data-0.6.0                                    
           test:  exited with: ExitFailure 1                                                
       Full log available at /home/curators/work/unpack-dir/.stack-work/logs/unicode-data-0.6.0-test.log                                                                                 
                                              
                                              
                                              
           Unicode.Char                       
             Unicode blocks                   
               Characters not in any block are unassigned [✔]                               
               Examples [✔]                   
               Characters are in the definition of their corresponding block [✔]                                                                                                         
               Characters in a block definition have the corresponding block [✔]                                                                                                         
             Unicode general categories                                                     
           [WARNING] Cannot test '\2199': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\6990': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\6991': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\7039': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\7305': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\7306': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\9255': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\9256': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\9257': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                               
           [WARNING] Cannot test '\12772': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\12773': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42955': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42956': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42957': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42970': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42971': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\42972': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\67008': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\67009': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\67010': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0                                                              
           [WARNING] Cannot test '\67011': incompatible Unicode version (unassigned char). Expected 15.1.0, but got: 16.0.0      
:
:
:
           Failures:                                                                                                                                                                     
                                                                                                                                                                                         
             test/Unicode/CharSpec.hs:206:21:                                                                                                                                            
             1) Unicode.Char.Case toUpper                                                                                                                                                
                  predicate failed on: '\411'                                                                                                                                            
                                                                                                                                                                                         
             To rerun use: --match "/Unicode.Char/Case/toUpper/" --seed 828309295                                                                                                        
                                                                                                                                                                                         
             test/Unicode/CharSpec.hs:227:21:                                                                                                                                            
             2) Unicode.Char.Case toTitle                                                                                                                                                
                  predicate failed on: '\411'                                                                                                                                            
                                                                                                                                                                                         
             To rerun use: --match "/Unicode.Char/Case/toTitle/" --seed 828309295                                                                                                        
                                                                                                                                                                                         
           Randomized with seed 828309295                                                                                                                                                
                                                                                                                                                                                         
           Finished in 1.3479 seconds                                                                                                                                                    
           41 examples, 2 failures        

Also maybe test for Unicode version first, so that you don't output 23k lines of errors ;o)

Greetings from the Stackage team

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions