diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-11-15 17:55:16 -0500 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-15 23:08:11 +0000 |
commit | d2e7a70ee6865a92992d4d793cd08a2805d2658a (patch) | |
tree | 7c1bdca081219e3daf2b2f443101729099f9650c /test/prism/snapshots/seattlerb/if_elsif.txt | |
parent | e9bc530795a13103ac5fd01475422cab632420cd (diff) |
[ruby/prism] Track the then keyword for conditionals
https://github.com/ruby/prism/commit/fef0019a25
Diffstat (limited to 'test/prism/snapshots/seattlerb/if_elsif.txt')
-rw-r--r-- | test/prism/snapshots/seattlerb/if_elsif.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/prism/snapshots/seattlerb/if_elsif.txt b/test/prism/snapshots/seattlerb/if_elsif.txt index bc526814a5..8ce1864e76 100644 --- a/test/prism/snapshots/seattlerb/if_elsif.txt +++ b/test/prism/snapshots/seattlerb/if_elsif.txt @@ -8,6 +8,7 @@ ├── predicate: │ @ IntegerNode (location: (1,3)-(1,4)) │ └── flags: decimal + ├── then_keyword_loc: ∅ ├── statements: ∅ ├── consequent: │ @ IfNode (location: (1,6)-(1,18)) @@ -15,6 +16,7 @@ │ ├── predicate: │ │ @ IntegerNode (location: (1,12)-(1,13)) │ │ └── flags: decimal + │ ├── then_keyword_loc: ∅ │ ├── statements: ∅ │ ├── consequent: ∅ │ └── end_keyword_loc: (1,15)-(1,18) = "end" |