Skip to content
Snippets Groups Projects
  • Virgile Prevosto's avatar
    81d0503a
    [tests] update oracle · 81d0503a
    Virgile Prevosto authored
    Since this test is supposed to check the order in which globals are presented
    after AST reordering, such oracle changes must be considered carefully. Here,
    there's no dependency between `j` and `k`, so that they can indeed be swapped.
    This in fact better reflect the original global list before reordering
    
    NB: `l` is always at the very top of the list, despite being inserted last. This
    might warrant investigation at some point. However, the resulting AST after
    reordering is correct, which is the main goal.
    81d0503a
    History
    [tests] update oracle
    Virgile Prevosto authored
    Since this test is supposed to check the order in which globals are presented
    after AST reordering, such oracle changes must be considered carefully. Here,
    there's no dependency between `j` and `k`, so that they can indeed be swapped.
    This in fact better reflect the original global list before reordering
    
    NB: `l` is always at the very top of the list, despite being inserted last. This
    might warrant investigation at some point. However, the resulting AST after
    reordering is correct, which is the main goal.